Home
last modified time | relevance | path

Searched refs:vpg (Results 1 – 24 of 24) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Dvpg.h31 struct vpg;
35 struct vpg *vpg,
41 struct vpg *vpg);
44 struct vpg *vpg);
47 struct vpg { struct
/linux/drivers/gpu/drm/amd/display/dc/dcn31/
H A Ddcn31_vpg.c52 void vpg31_powerdown(struct vpg *vpg) in vpg31_powerdown() argument
54 struct dcn31_vpg *vpg31 = DCN31_VPG_FROM_VPG(vpg); in vpg31_powerdown()
56 if (vpg->ctx->dc->debug.enable_mem_low_power.bits.vpg == false) in vpg31_powerdown()
62 void vpg31_poweron(struct vpg *vpg) in vpg31_poweron() argument
64 struct dcn31_vpg *vpg31 = DCN31_VPG_FROM_VPG(vpg); in vpg31_poweron()
70 if (vpg->ctx->dc->debug.enable_mem_low_power.bits.vpg == false && in vpg31_poweron()
H A Ddcn31_vpg.h31 #define DCN31_VPG_FROM_VPG(vpg)\ argument
32 container_of(vpg, struct dcn31_vpg, base)
144 struct vpg base;
151 struct vpg *vpg);
154 struct vpg *vpg);
/linux/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_vpg.h31 #define DCN30_VPG_FROM_VPG(vpg)\ argument
32 container_of(vpg, struct dcn30_vpg, base)
137 struct vpg base;
144 struct vpg *vpg,
H A Ddcn30_vpg.c47 struct vpg *vpg, in vpg3_update_generic_info_packet() argument
52 struct dcn30_vpg *vpg3 = DCN30_VPG_FROM_VPG(vpg); in vpg3_update_generic_info_packet()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn316/
H A Ddcn316_resource.c941 .vpg = true,
1234 static struct vpg *dcn31_vpg_create( in dcn31_vpg_create()
1294 struct vpg *vpg; in dcn316_stream_encoder_create() local
1307 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn316_stream_encoder_create()
1310 if (!enc1 || !vpg || !afmt) { in dcn316_stream_encoder_create()
1312 kfree(vpg); in dcn316_stream_encoder_create()
1318 eng_id, vpg, afmt, in dcn316_stream_encoder_create()
1330 struct vpg *vpg; in dcn31_hpo_frl_stream_encoder_create() local
1344 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn31_hpo_frl_stream_encoder_create()
1347 if (!hpo_enc3 || !vpg || !afmt) { in dcn31_hpo_frl_stream_encoder_create()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn314/
H A Ddcn314_resource.c966 .vpg = true,
1299 static struct vpg *dcn31_vpg_create( in dcn31_vpg_create()
1357 struct vpg *vpg; in dcn314_stream_encoder_create() local
1370 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn314_stream_encoder_create()
1373 if (!enc1 || !vpg || !afmt) { in dcn314_stream_encoder_create()
1375 kfree(vpg); in dcn314_stream_encoder_create()
1381 eng_id, vpg, afmt, in dcn314_stream_encoder_create()
1393 struct vpg *vpg; in dcn31_hpo_frl_stream_encoder_create() local
1408 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn31_hpo_frl_stream_encoder_create()
1411 if (!hpo_enc3 || !vpg || !afmt) { in dcn31_hpo_frl_stream_encoder_create()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn36/
H A Ddcn36_resource.c785 .vpg = true,
1239 static struct vpg *dcn31_vpg_create( in dcn31_vpg_create()
1326 struct vpg *vpg; in dcn35_stream_encoder_create() local
1339 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn35_stream_encoder_create()
1342 if (!enc1 || !vpg || !afmt) { in dcn35_stream_encoder_create()
1344 kfree(vpg); in dcn35_stream_encoder_create()
1358 eng_id, vpg, afmt, in dcn35_stream_encoder_create()
1370 struct vpg *vpg; in dcn31_hpo_frl_stream_encoder_create() local
1389 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn31_hpo_frl_stream_encoder_create()
1392 if (!hpo_enc3 || !vpg || !afmt) { in dcn31_hpo_frl_stream_encoder_create()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn31/
H A Ddcn31_resource.c946 .vpg = true,
1242 static struct vpg *dcn31_vpg_create( in dcn31_vpg_create()
1300 struct vpg *vpg; in dcn31_stream_encoder_create() local
1313 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn31_stream_encoder_create()
1316 if (!enc1 || !vpg || !afmt) { in dcn31_stream_encoder_create()
1318 kfree(vpg); in dcn31_stream_encoder_create()
1324 eng_id, vpg, afmt, in dcn31_stream_encoder_create()
1336 struct vpg *vpg; in dcn31_hpo_frl_stream_encoder_create() local
1350 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn31_hpo_frl_stream_encoder_create()
1353 if (!hpo_enc3 || !vpg || !afmt) { in dcn31_hpo_frl_stream_encoder_create()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn35/
H A Ddcn35_resource.c798 .vpg = true,
1252 static struct vpg *dcn31_vpg_create( in dcn31_vpg_create()
1339 struct vpg *vpg; in dcn35_stream_encoder_create() local
1352 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn35_stream_encoder_create()
1355 if (!enc1 || !vpg || !afmt) { in dcn35_stream_encoder_create()
1357 kfree(vpg); in dcn35_stream_encoder_create()
1371 eng_id, vpg, afmt, in dcn35_stream_encoder_create()
1383 struct vpg *vpg; in dcn31_hpo_frl_stream_encoder_create() local
1402 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn31_hpo_frl_stream_encoder_create()
1405 if (!hpo_enc3 || !vpg || !afmt) { in dcn31_hpo_frl_stream_encoder_create()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn315/
H A Ddcn315_resource.c946 .vpg = true,
1241 static struct vpg *dcn31_vpg_create( in dcn31_vpg_create()
1299 struct vpg *vpg; in dcn315_stream_encoder_create() local
1314 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn315_stream_encoder_create()
1317 if (!enc1 || !vpg || !afmt) { in dcn315_stream_encoder_create()
1319 kfree(vpg); in dcn315_stream_encoder_create()
1325 eng_id, vpg, afmt, in dcn315_stream_encoder_create()
1337 struct vpg *vpg; in dcn31_hpo_frl_stream_encoder_create() local
1351 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn31_hpo_frl_stream_encoder_create()
1354 if (!hpo_enc3 || !vpg || !afmt) { in dcn31_hpo_frl_stream_encoder_create()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn351/
H A Ddcn351_resource.c778 .vpg = true,
1232 static struct vpg *dcn31_vpg_create( in dcn31_vpg_create()
1319 struct vpg *vpg; in dcn35_stream_encoder_create() local
1332 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn35_stream_encoder_create()
1335 if (!enc1 || !vpg || !afmt) { in dcn35_stream_encoder_create()
1337 kfree(vpg); in dcn35_stream_encoder_create()
1351 eng_id, vpg, afmt, in dcn35_stream_encoder_create()
1363 struct vpg *vpg; in dcn31_hpo_frl_stream_encoder_create() local
1382 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn31_hpo_frl_stream_encoder_create()
1385 if (!hpo_enc3 || !vpg || !afmt) { in dcn31_hpo_frl_stream_encoder_create()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn321/
H A Ddcn321_resource.c1170 static struct vpg *dcn321_vpg_create( in dcn321_vpg_create()
1255 struct vpg *vpg; in dcn321_stream_encoder_create() local
1268 vpg = dcn321_vpg_create(ctx, vpg_inst); in dcn321_stream_encoder_create()
1271 if (!enc1 || !vpg || !afmt) { in dcn321_stream_encoder_create()
1273 kfree(vpg); in dcn321_stream_encoder_create()
1287 eng_id, vpg, afmt, in dcn321_stream_encoder_create()
1299 struct vpg *vpg; in dcn321_hpo_frl_stream_encoder_create() local
1318 vpg = dcn321_vpg_create(ctx, vpg_inst); in dcn321_hpo_frl_stream_encoder_create()
1321 if (!hpo_enc3 || !vpg || !afmt) { in dcn321_hpo_frl_stream_encoder_create()
1323 kfree(vpg); in dcn321_hpo_frl_stream_encoder_create()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn303/
H A Ddcn303_resource.c326 static struct vpg *dcn303_vpg_create(struct dc_context *ctx, uint32_t inst) in dcn303_vpg_create()
417 struct vpg *vpg; in dcn303_stream_encoder_create() local
430 vpg = dcn303_vpg_create(ctx, vpg_inst); in dcn303_stream_encoder_create()
433 if (!enc1 || !vpg || !afmt) { in dcn303_stream_encoder_create()
435 kfree(vpg); in dcn303_stream_encoder_create()
440 …dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, eng_id, vpg, afmt, &stream_enc_regs[en… in dcn303_stream_encoder_create()
469 struct vpg *vpg; in dcn303_hpo_frl_stream_encoder_create() local
483 vpg = dcn303_vpg_create(ctx, vpg_inst); in dcn303_hpo_frl_stream_encoder_create()
486 if (!hpo_enc3 || !vpg || !afmt) { in dcn303_hpo_frl_stream_encoder_create()
488 kfree(vpg); in dcn303_hpo_frl_stream_encoder_create()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn302/
H A Ddcn302_resource.c333 static struct vpg *dcn302_vpg_create(struct dc_context *ctx, uint32_t inst) in dcn302_vpg_create()
430 struct vpg *vpg; in dcn302_stream_encoder_create() local
443 vpg = dcn302_vpg_create(ctx, vpg_inst); in dcn302_stream_encoder_create()
446 if (!enc1 || !vpg || !afmt) { in dcn302_stream_encoder_create()
448 kfree(vpg); in dcn302_stream_encoder_create()
453 …dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, eng_id, vpg, afmt, &stream_enc_regs[en… in dcn302_stream_encoder_create()
482 struct vpg *vpg; in dcn302_hpo_frl_stream_encoder_create() local
496 vpg = dcn302_vpg_create(ctx, vpg_inst); in dcn302_hpo_frl_stream_encoder_create()
499 if (!hpo_enc3 || !vpg || !afmt) { in dcn302_hpo_frl_stream_encoder_create()
501 kfree(vpg); in dcn302_hpo_frl_stream_encoder_create()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn42/
H A Ddcn42_resource.c764 .vpg = true,
1199 static struct vpg *dcn42_vpg_create( in dcn42_vpg_create()
1263 struct vpg *vpg; in dcn42_stream_encoder_create() local
1277 vpg = dcn42_vpg_create(ctx, vpg_inst); in dcn42_stream_encoder_create()
1280 if (!enc1 || !vpg || !apg) { in dcn42_stream_encoder_create()
1282 kfree(vpg); in dcn42_stream_encoder_create()
1295 eng_id, vpg, apg, in dcn42_stream_encoder_create()
1306 struct vpg *vpg; in dcn42_hpo_frl_stream_encoder_create() local
1327 vpg = dcn42_vpg_create(ctx, vpg_inst); in dcn42_hpo_frl_stream_encoder_create()
1330 if (!hpo_enc42 || !vpg || !apg) { in dcn42_hpo_frl_stream_encoder_create()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn60/
H A Ddcn60_resource.c1346 static struct vpg *dcn60_vpg_create( in dcn60_vpg_create()
1404 struct vpg *vpg; in dcn60_stream_encoder_create() local
1417 vpg = dcn60_vpg_create(ctx, vpg_inst); in dcn60_stream_encoder_create()
1420 if (!enc1 || !vpg || !apg || eng_id >= ARRAY_SIZE(stream_enc_regs)) { in dcn60_stream_encoder_create()
1422 kfree(vpg); in dcn60_stream_encoder_create()
1434 eng_id, vpg, apg, in dcn60_stream_encoder_create()
1445 struct vpg *vpg; in dcn60_hpo_frl_stream_encoder_create() local
1464 vpg = dcn60_vpg_create(ctx, vpg_inst); in dcn60_hpo_frl_stream_encoder_create()
1467 if (!hpo_enc60 || !vpg || !apg) { in dcn60_hpo_frl_stream_encoder_create()
1469 kfree(vpg); in dcn60_hpo_frl_stream_encoder_create()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn401/
H A Ddcn401_resource.c1181 static struct vpg *dcn401_vpg_create( in dcn401_vpg_create()
1265 struct vpg *vpg; in dcn401_stream_encoder_create() local
1278 vpg = dcn401_vpg_create(ctx, vpg_inst); in dcn401_stream_encoder_create()
1281 if (!enc1 || !vpg || !afmt || eng_id >= ARRAY_SIZE(stream_enc_regs)) { in dcn401_stream_encoder_create()
1283 kfree(vpg); in dcn401_stream_encoder_create()
1296 eng_id, vpg, afmt, in dcn401_stream_encoder_create()
1307 struct vpg *vpg; in dcn401_hpo_frl_stream_encoder_create() local
1326 vpg = dcn401_vpg_create(ctx, vpg_inst); in dcn401_hpo_frl_stream_encoder_create()
1329 if (!hpo_enc401 || !vpg || !afmt) { in dcn401_hpo_frl_stream_encoder_create()
1331 kfree(vpg); in dcn401_hpo_frl_stream_encoder_create()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/
H A Ddcn32_resource.c1195 static struct vpg *dcn32_vpg_create( in dcn32_vpg_create()
1280 struct vpg *vpg; in dcn32_stream_encoder_create() local
1293 vpg = dcn32_vpg_create(ctx, vpg_inst); in dcn32_stream_encoder_create()
1296 if (!enc1 || !vpg || !afmt) { in dcn32_stream_encoder_create()
1298 kfree(vpg); in dcn32_stream_encoder_create()
1312 eng_id, vpg, afmt, in dcn32_stream_encoder_create()
1324 struct vpg *vpg; in dcn32_hpo_frl_stream_encoder_create() local
1343 vpg = dcn32_vpg_create(ctx, vpg_inst); in dcn32_hpo_frl_stream_encoder_create()
1346 if (!hpo_enc3 || !vpg || !afmt) { in dcn32_hpo_frl_stream_encoder_create()
1348 kfree(vpg); in dcn32_hpo_frl_stream_encoder_create()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn42b/
H A Ddcn42b_resource.c817 .vpg = true,
1268 static struct vpg *dcn42b_vpg_create( in dcn42b_vpg_create()
1332 struct vpg *vpg; in dcn42b_stream_encoder_create() local
1346 vpg = dcn42b_vpg_create(ctx, vpg_inst); in dcn42b_stream_encoder_create()
1349 if (!enc1 || !vpg || !apg) { in dcn42b_stream_encoder_create()
1351 kfree(vpg); in dcn42b_stream_encoder_create()
1366 eng_id, vpg, apg, in dcn42b_stream_encoder_create()
1377 struct vpg *vpg; in dcn42b_hpo_dp_stream_encoder_create() local
1406 vpg = dcn42b_vpg_create(ctx, vpg_inst); in dcn42b_hpo_dp_stream_encoder_create()
1409 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn42b_hpo_dp_stream_encoder_create()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn30/
H A Ddcn30_resource.c1051 static struct vpg *dcn30_vpg_create( in dcn30_vpg_create()
1089 struct vpg *vpg; in dcn30_stream_encoder_create() local
1102 vpg = dcn30_vpg_create(ctx, vpg_inst); in dcn30_stream_encoder_create()
1105 if (!enc1 || !vpg || !afmt) { in dcn30_stream_encoder_create()
1107 kfree(vpg); in dcn30_stream_encoder_create()
1113 eng_id, vpg, afmt, in dcn30_stream_encoder_create()
1125 struct vpg *vpg; in dcn30_hpo_frl_stream_encoder_create() local
1139 vpg = dcn30_vpg_create(ctx, vpg_inst); in dcn30_hpo_frl_stream_encoder_create()
1142 if (!hpo_enc3 || !vpg || !afmt) { in dcn30_hpo_frl_stream_encoder_create()
1144 kfree(vpg); in dcn30_hpo_frl_stream_encoder_create()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn32/
H A Ddcn32_dio_stream_encoder.h192 struct vpg *vpg,
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn35/
H A Ddcn35_dio_stream_encoder.h280 struct vpg *vpg,
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn314/
H A Ddcn314_dio_stream_encoder.h270 struct vpg *vpg,