Lines Matching +full:revision +full:- +full:id

1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2014-2015 The Linux Foundation. All rights reserved.
10 int revision; member
66 { .id = 0, .pp = 0, .dspp = 0,
68 { .id = 1, .pp = 1, .dspp = 1,
70 { .id = 2, .pp = 2, .dspp = 2,
72 { .id = 3, .pp = -1, .dspp = -1,
74 { .id = 4, .pp = -1, .dspp = -1,
155 { .id = 0, .pp = 0, .dspp = 0,
157 { .id = 1, .pp = -1, .dspp = -1,
230 { .id = 0, .pp = 0, .dspp = 0,
232 { .id = 1, .pp = 1, .dspp = 1,
234 { .id = 2, .pp = 2, .dspp = 2,
236 { .id = 3, .pp = -1, .dspp = -1,
238 { .id = 4, .pp = -1, .dspp = -1,
325 { .id = 0, .pp = 0, .dspp = 0,
328 { .id = 1, .pp = 1, .dspp = 1,
330 { .id = 2, .pp = 2, .dspp = 2,
333 { .id = 3, .pp = -1, .dspp = -1,
335 { .id = 4, .pp = -1, .dspp = -1,
337 { .id = 5, .pp = 3, .dspp = 3,
417 { .id = 0, .pp = 0, .dspp = 0,
419 { .id = 3, .pp = -1, .dspp = -1,
489 { .id = 0, .pp = 0, .dspp = 0,
491 { .id = 1, .pp = -1, .dspp = -1,
577 { .id = 0, .pp = 0, .dspp = 0,
580 { .id = 1, .pp = 1, .dspp = 1,
582 { .id = 2, .pp = 2, .dspp = 2,
585 { .id = 3, .pp = -1, .dspp = -1,
587 { .id = 4, .pp = -1, .dspp = -1,
589 { .id = 5, .pp = 3, .dspp = 3,
683 { .id = 0, .pp = 0, .dspp = 0,
686 { .id = 1, .pp = 1, .dspp = 1,
688 { .id = 2, .pp = 2, .dspp = -1,
691 { .id = 3, .pp = -1, .dspp = -1,
693 { .id = 4, .pp = -1, .dspp = -1,
695 { .id = 5, .pp = 3, .dspp = -1,
803 { .id = 0, .pp = 0, .dspp = 0,
805 { .id = 1, .pp = -1, .dspp = -1,
889 { .id = 0, .pp = 0, .dspp = 0,
892 { .id = 1, .pp = 1, .dspp = -1,
981 { .id = 0, .pp = 0, .dspp = 0,
983 { .id = 1, .pp = -1, .dspp = -1,
1066 { .id = 0, .pp = 0, .dspp = 0,
1069 { .id = 1, .pp = 1, .dspp = -1,
1157 { .id = 0, .pp = 0, .dspp = 0,
1160 { .id = 1, .pp = 1, .dspp = 1,
1162 { .id = 2, .pp = 2, .dspp = -1,
1165 { .id = 3, .pp = -1, .dspp = -1,
1167 { .id = 4, .pp = -1, .dspp = -1,
1169 { .id = 5, .pp = 3, .dspp = -1,
1264 { .id = 0, .pp = 0, .dspp = 0,
1267 { .id = 1, .pp = 1, .dspp = -1,
1357 { .id = 0, .pp = 0, .dspp = 0,
1360 { .id = 1, .pp = 1, .dspp = 1,
1362 { .id = 2, .pp = 2, .dspp = -1,
1365 { .id = 3, .pp = 3, .dspp = -1,
1405 { .revision = 0, .config = { .hw = &msm8x74v1_config } },
1406 { .revision = 1, .config = { .hw = &msm8x26_config } },
1407 { .revision = 2, .config = { .hw = &msm8x74v2_config } },
1408 { .revision = 3, .config = { .hw = &apq8084_config } },
1409 { .revision = 6, .config = { .hw = &msm8x16_config } },
1410 { .revision = 8, .config = { .hw = &msm8x36_config } },
1411 { .revision = 9, .config = { .hw = &msm8x94_config } },
1412 { .revision = 7, .config = { .hw = &msm8x96_config } },
1413 { .revision = 11, .config = { .hw = &msm8x76_config } },
1414 { .revision = 14, .config = { .hw = &msm8937_config } },
1415 { .revision = 15, .config = { .hw = &msm8917_config } },
1416 { .revision = 16, .config = { .hw = &msm8x53_config } },
1420 { .revision = 0, .config = { .hw = &msm8998_config } },
1421 { .revision = 2, .config = { .hw = &sdm660_config } },
1422 { .revision = 3, .config = { .hw = &sdm630_config } },
1427 return cfg_handler->config.hw; in mdp5_cfg_get_hw_config()
1432 return &cfg_handler->config; in mdp5_cfg_get_config()
1437 return cfg_handler->revision; in mdp5_cfg_get_hw_rev()
1443 struct drm_device *dev = mdp5_kms->dev; in mdp5_cfg_init()
1448 cfg_handler = devm_kzalloc(dev->dev, sizeof(*cfg_handler), GFP_KERNEL); in mdp5_cfg_init()
1450 return ERR_PTR(-ENOMEM); in mdp5_cfg_init()
1463 DRM_DEV_ERROR(dev->dev, "unexpected MDP major version: v%d.%d\n", in mdp5_cfg_init()
1465 return ERR_PTR(-ENXIO); in mdp5_cfg_init()
1470 if (cfg_handlers[i].revision != minor) in mdp5_cfg_init()
1477 DRM_DEV_ERROR(dev->dev, "unexpected MDP minor revision: v%d.%d\n", in mdp5_cfg_init()
1479 return ERR_PTR(-ENXIO); in mdp5_cfg_init()
1482 cfg_handler->revision = minor; in mdp5_cfg_init()
1483 cfg_handler->config.hw = mdp5_cfg; in mdp5_cfg_init()
1485 DBG("MDP5: %s hw config selected", mdp5_cfg->name); in mdp5_cfg_init()