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,
890 { .id = 0, .pp = 0, .dspp = 0,
893 { .id = 1, .pp = 1, .dspp = -1,
982 { .id = 0, .pp = 0, .dspp = 0,
984 { .id = 1, .pp = -1, .dspp = -1,
1071 { .id = 0, .pp = 0, .dspp = 0,
1074 { .id = 1, .pp = 1, .dspp = 1,
1076 { .id = 2, .pp = 2, .dspp = -1,
1079 { .id = 3, .pp = -1, .dspp = -1,
1081 { .id = 4, .pp = -1, .dspp = -1,
1083 { .id = 5, .pp = 3, .dspp = -1,
1178 { .id = 0, .pp = 0, .dspp = 0,
1181 { .id = 1, .pp = 1, .dspp = -1,
1271 { .id = 0, .pp = 0, .dspp = 0,
1274 { .id = 1, .pp = 1, .dspp = 1,
1276 { .id = 2, .pp = 2, .dspp = -1,
1279 { .id = 3, .pp = 3, .dspp = -1,
1319 { .revision = 0, .config = { .hw = &msm8x74v1_config } },
1320 { .revision = 1, .config = { .hw = &msm8x26_config } },
1321 { .revision = 2, .config = { .hw = &msm8x74v2_config } },
1322 { .revision = 3, .config = { .hw = &apq8084_config } },
1323 { .revision = 6, .config = { .hw = &msm8x16_config } },
1324 { .revision = 8, .config = { .hw = &msm8x36_config } },
1325 { .revision = 9, .config = { .hw = &msm8x94_config } },
1326 { .revision = 7, .config = { .hw = &msm8x96_config } },
1327 { .revision = 11, .config = { .hw = &msm8x76_config } },
1328 { .revision = 15, .config = { .hw = &msm8917_config } },
1329 { .revision = 16, .config = { .hw = &msm8x53_config } },
1333 { .revision = 0, .config = { .hw = &msm8998_config } },
1334 { .revision = 2, .config = { .hw = &sdm660_config } },
1335 { .revision = 3, .config = { .hw = &sdm630_config } },
1340 return cfg_handler->config.hw; in mdp5_cfg_get_hw_config()
1345 return &cfg_handler->config; in mdp5_cfg_get_config()
1350 return cfg_handler->revision; in mdp5_cfg_get_hw_rev()
1356 struct drm_device *dev = mdp5_kms->dev; in mdp5_cfg_init()
1361 cfg_handler = devm_kzalloc(dev->dev, sizeof(*cfg_handler), GFP_KERNEL); in mdp5_cfg_init()
1363 return ERR_PTR(-ENOMEM); in mdp5_cfg_init()
1376 DRM_DEV_ERROR(dev->dev, "unexpected MDP major version: v%d.%d\n", in mdp5_cfg_init()
1378 return ERR_PTR(-ENXIO); in mdp5_cfg_init()
1383 if (cfg_handlers[i].revision != minor) in mdp5_cfg_init()
1390 DRM_DEV_ERROR(dev->dev, "unexpected MDP minor revision: v%d.%d\n", in mdp5_cfg_init()
1392 return ERR_PTR(-ENXIO); in mdp5_cfg_init()
1395 cfg_handler->revision = minor; in mdp5_cfg_init()
1396 cfg_handler->config.hw = mdp5_cfg; in mdp5_cfg_init()
1398 DBG("MDP5: %s hw config selected", mdp5_cfg->name); in mdp5_cfg_init()