Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/amd/display/dc/inc/hw/
A Dvpg.h31 struct vpg;
35 struct vpg *vpg,
41 struct vpg *vpg);
44 struct vpg *vpg);
47 struct vpg { struct
A Dstream_encoder.h118 struct vpg *vpg; member
296 struct vpg *vpg; member
/linux/drivers/gpu/drm/amd/display/dc/dcn31/
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()
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/dio/dcn30/
A Ddcn30_dio_stream_encoder.c59 enc1->base.vpg, in enc3_update_hdmi_info_packet()
350 enc1->base.vpg, in enc3_dp_set_dsc_pps_info_packet()
431 enc->vpg, in enc3_stream_encoder_update_dp_info_packets()
446 enc->vpg, in enc3_stream_encoder_update_dp_info_packets()
461 enc->vpg, in enc3_stream_encoder_update_dp_info_packets()
468 enc->vpg, in enc3_stream_encoder_update_dp_info_packets()
475 enc->vpg, in enc3_stream_encoder_update_dp_info_packets()
486 enc->vpg, in enc3_stream_encoder_update_dp_info_packets()
882 struct vpg *vpg, in dcn30_dio_stream_encoder_construct() argument
892 enc1->base.vpg = vpg; in dcn30_dio_stream_encoder_construct()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hpo/dcn31/
A Ddcn31_hpo_dp_stream_encoder.c457 enc->vpg->funcs->update_generic_info_packet( in dcn31_hpo_dp_stream_enc_update_dp_info_packets()
458 enc->vpg, in dcn31_hpo_dp_stream_enc_update_dp_info_packets()
464 enc->vpg->funcs->update_generic_info_packet( in dcn31_hpo_dp_stream_enc_update_dp_info_packets()
465 enc->vpg, in dcn31_hpo_dp_stream_enc_update_dp_info_packets()
471 enc->vpg->funcs->update_generic_info_packet( in dcn31_hpo_dp_stream_enc_update_dp_info_packets()
472 enc->vpg, in dcn31_hpo_dp_stream_enc_update_dp_info_packets()
482 enc->vpg->funcs->update_generic_info_packet( in dcn31_hpo_dp_stream_enc_update_dp_info_packets()
483 enc->vpg, in dcn31_hpo_dp_stream_enc_update_dp_info_packets()
573 enc3->base.vpg, in dcn31_hpo_dp_stream_enc_set_dsc_pps_info_packet()
763 struct vpg *vpg, in dcn31_hpo_dp_stream_encoder_construct() argument
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dcn30/
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,
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/dio/dcn314/
A Ddcn314_dio_stream_encoder.c479 struct vpg *vpg, in dcn314_dio_stream_encoder_construct() argument
489 enc1->base.vpg = vpg; in dcn314_dio_stream_encoder_construct()
494 enc1->base.stream_enc_inst = vpg->inst; in dcn314_dio_stream_encoder_construct()
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn32/
A Ddcn32_dio_stream_encoder.c476 struct vpg *vpg, in dcn32_dio_stream_encoder_construct() argument
486 enc1->base.vpg = vpg; in dcn32_dio_stream_encoder_construct()
491 enc1->base.stream_enc_inst = vpg->inst; in dcn32_dio_stream_encoder_construct()
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn35/
A Ddcn35_dio_stream_encoder.c503 struct vpg *vpg, in dcn35_dio_stream_encoder_construct() argument
513 enc1->base.vpg = vpg; in dcn35_dio_stream_encoder_construct()
518 enc1->base.stream_enc_inst = vpg->inst; in dcn35_dio_stream_encoder_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn316/
A Ddcn316_resource.c882 .vpg = true,
1158 static struct vpg *dcn31_vpg_create( in dcn31_vpg_create()
1218 struct vpg *vpg; in dcn316_stream_encoder_create() local
1231 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn316_stream_encoder_create()
1234 if (!enc1 || !vpg || !afmt) { in dcn316_stream_encoder_create()
1236 kfree(vpg); in dcn316_stream_encoder_create()
1242 eng_id, vpg, afmt, in dcn316_stream_encoder_create()
1255 struct vpg *vpg; in dcn31_hpo_dp_stream_encoder_create() local
1285 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
1287 kfree(vpg); in dcn31_hpo_dp_stream_encoder_create()
[all …]
/linux/drivers/gpu/drm/bridge/synopsys/
A Ddw-mipi-dsi.c262 bool vpg; member
616 if (dsi->vpg_defs.vpg) { in dw_mipi_dsi_video_mode_config()
1105 struct debugfs_entries *vpg = data; in dw_mipi_dsi_debugfs_write() local
1109 if (!vpg) in dw_mipi_dsi_debugfs_write()
1112 dsi = vpg->dsi; in dw_mipi_dsi_debugfs_write()
1114 *vpg->reg = (bool)val; in dw_mipi_dsi_debugfs_write()
1118 if (*vpg->reg) in dw_mipi_dsi_debugfs_write()
1119 mode_cfg |= vpg->mask; in dw_mipi_dsi_debugfs_write()
1121 mode_cfg &= ~vpg->mask; in dw_mipi_dsi_debugfs_write()
1132 if (!vpg) in dw_mipi_dsi_debugfs_show()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn314/
A Ddcn314_resource.c907 .vpg = true,
1222 static struct vpg *dcn31_vpg_create( in dcn31_vpg_create()
1280 struct vpg *vpg; in dcn314_stream_encoder_create() local
1293 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn314_stream_encoder_create()
1296 if (!enc1 || !vpg || !afmt) { in dcn314_stream_encoder_create()
1298 kfree(vpg); in dcn314_stream_encoder_create()
1304 eng_id, vpg, afmt, in dcn314_stream_encoder_create()
1316 struct vpg *vpg; in dcn31_hpo_dp_stream_encoder_create() local
1347 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
1349 kfree(vpg); in dcn31_hpo_dp_stream_encoder_create()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn31/
A Ddcn31_resource.c887 .vpg = true,
1166 static struct vpg *dcn31_vpg_create( in dcn31_vpg_create()
1224 struct vpg *vpg; in dcn31_stream_encoder_create() local
1237 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn31_stream_encoder_create()
1240 if (!enc1 || !vpg || !afmt) { in dcn31_stream_encoder_create()
1242 kfree(vpg); in dcn31_stream_encoder_create()
1248 eng_id, vpg, afmt, in dcn31_stream_encoder_create()
1260 struct vpg *vpg; in dcn31_hpo_dp_stream_encoder_create() local
1290 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
1292 kfree(vpg); in dcn31_hpo_dp_stream_encoder_create()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn315/
A Ddcn315_resource.c887 .vpg = true,
1164 static struct vpg *dcn31_vpg_create( in dcn31_vpg_create()
1222 struct vpg *vpg; in dcn315_stream_encoder_create() local
1237 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn315_stream_encoder_create()
1240 if (!enc1 || !vpg || !afmt) { in dcn315_stream_encoder_create()
1242 kfree(vpg); in dcn315_stream_encoder_create()
1248 eng_id, vpg, afmt, in dcn315_stream_encoder_create()
1260 struct vpg *vpg; in dcn31_hpo_dp_stream_encoder_create() local
1290 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
1292 kfree(vpg); in dcn31_hpo_dp_stream_encoder_create()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn35/
A Ddcn35_resource.c747 .vpg = true,
1182 static struct vpg *dcn31_vpg_create( in dcn31_vpg_create()
1269 struct vpg *vpg; in dcn35_stream_encoder_create() local
1282 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn35_stream_encoder_create()
1285 if (!enc1 || !vpg || !afmt) { in dcn35_stream_encoder_create()
1287 kfree(vpg); in dcn35_stream_encoder_create()
1301 eng_id, vpg, afmt, in dcn35_stream_encoder_create()
1313 struct vpg *vpg; in dcn31_hpo_dp_stream_encoder_create() local
1343 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
1345 kfree(vpg); in dcn31_hpo_dp_stream_encoder_create()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn351/
A Ddcn351_resource.c727 .vpg = true,
1162 static struct vpg *dcn31_vpg_create( in dcn31_vpg_create()
1249 struct vpg *vpg; in dcn35_stream_encoder_create() local
1262 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn35_stream_encoder_create()
1265 if (!enc1 || !vpg || !afmt) { in dcn35_stream_encoder_create()
1267 kfree(vpg); in dcn35_stream_encoder_create()
1281 eng_id, vpg, afmt, in dcn35_stream_encoder_create()
1293 struct vpg *vpg; in dcn31_hpo_dp_stream_encoder_create() local
1323 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
1325 kfree(vpg); in dcn31_hpo_dp_stream_encoder_create()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn321/
A Ddcn321_resource.c1102 static struct vpg *dcn321_vpg_create( in dcn321_vpg_create()
1187 struct vpg *vpg; in dcn321_stream_encoder_create() local
1200 vpg = dcn321_vpg_create(ctx, vpg_inst); in dcn321_stream_encoder_create()
1203 if (!enc1 || !vpg || !afmt) { in dcn321_stream_encoder_create()
1205 kfree(vpg); in dcn321_stream_encoder_create()
1219 eng_id, vpg, afmt, in dcn321_stream_encoder_create()
1231 struct vpg *vpg; in dcn321_hpo_dp_stream_encoder_create() local
1258 vpg = dcn321_vpg_create(ctx, vpg_inst); in dcn321_hpo_dp_stream_encoder_create()
1261 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn321_hpo_dp_stream_encoder_create()
1263 kfree(vpg); in dcn321_hpo_dp_stream_encoder_create()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn401/
A Ddcn401_resource.c1094 static struct vpg *dcn401_vpg_create( in dcn401_vpg_create()
1178 struct vpg *vpg; in dcn401_stream_encoder_create() local
1191 vpg = dcn401_vpg_create(ctx, vpg_inst); in dcn401_stream_encoder_create()
1196 kfree(vpg); in dcn401_stream_encoder_create()
1209 eng_id, vpg, afmt, in dcn401_stream_encoder_create()
1220 struct vpg *vpg; in dcn401_hpo_dp_stream_encoder_create() local
1247 vpg = dcn401_vpg_create(ctx, vpg_inst); in dcn401_hpo_dp_stream_encoder_create()
1250 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn401_hpo_dp_stream_encoder_create()
1252 kfree(vpg); in dcn401_hpo_dp_stream_encoder_create()
1265 hpo_dp_inst, eng_id, vpg, apg, in dcn401_hpo_dp_stream_encoder_create()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn31/
A Ddcn31_hwseq.c96 …if (dc->debug.enable_mem_low_power.bits.vpg && dc->res_pool->stream_enc[0]->vpg->funcs->vpg_powerd… in enable_memory_low_power()
99 if (dc->res_pool->stream_enc[i]->vpg) in enable_memory_low_power()
100 dc->res_pool->stream_enc[i]->vpg->funcs->vpg_powerdown(dc->res_pool->stream_enc[i]->vpg); in enable_memory_low_power()
102 …dc->res_pool->hpo_dp_stream_enc[i]->vpg->funcs->vpg_powerdown(dc->res_pool->hpo_dp_stream_enc[i]-> in enable_memory_low_power()
/linux/drivers/gpu/drm/amd/display/dc/link/
A Dlink_dpms.c2325 struct vpg *vpg = pipe_ctx->stream_res.stream_enc->vpg; in link_set_dpms_off() local
2333 vpg = pipe_ctx->stream_res.hpo_dp_stream_enc->vpg; in link_set_dpms_off()
2417 if (vpg && vpg->funcs->vpg_powerdown) in link_set_dpms_off()
2418 vpg->funcs->vpg_powerdown(vpg); in link_set_dpms_off()
2439 struct vpg *vpg = pipe_ctx->stream_res.stream_enc->vpg; in link_set_dpms_on() local
2449 vpg = pipe_ctx->stream_res.hpo_dp_stream_enc->vpg; in link_set_dpms_on()
2488 if (vpg && vpg->funcs->vpg_poweron) in link_set_dpms_on()
2489 vpg->funcs->vpg_poweron(vpg); in link_set_dpms_on()
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn401/
A Ddcn401_dio_stream_encoder.c778 struct vpg *vpg, in dcn401_dio_stream_encoder_construct() argument
788 enc1->base.vpg = vpg; in dcn401_dio_stream_encoder_construct()
793 enc1->base.stream_enc_inst = vpg->inst; in dcn401_dio_stream_encoder_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn302/
A Ddcn302_resource.c297 static struct vpg *dcn302_vpg_create(struct dc_context *ctx, uint32_t inst) in dcn302_vpg_create()
394 struct vpg *vpg; in dcn302_stream_encoder_create() local
407 vpg = dcn302_vpg_create(ctx, vpg_inst); in dcn302_stream_encoder_create()
410 if (!enc1 || !vpg || !afmt) { in dcn302_stream_encoder_create()
412 kfree(vpg); in dcn302_stream_encoder_create()
417 …dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, eng_id, vpg, afmt, &stream_enc_regs[en… in dcn302_stream_encoder_create()
994 if (pool->stream_enc[i]->vpg != NULL) { in dcn302_resource_destruct()
995 kfree(DCN30_VPG_FROM_VPG(pool->stream_enc[i]->vpg)); in dcn302_resource_destruct()
996 pool->stream_enc[i]->vpg = NULL; in dcn302_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn303/
A Ddcn303_resource.c291 static struct vpg *dcn303_vpg_create(struct dc_context *ctx, uint32_t inst) in dcn303_vpg_create()
382 struct vpg *vpg; in dcn303_stream_encoder_create() local
395 vpg = dcn303_vpg_create(ctx, vpg_inst); in dcn303_stream_encoder_create()
398 if (!enc1 || !vpg || !afmt) { in dcn303_stream_encoder_create()
400 kfree(vpg); in dcn303_stream_encoder_create()
405 …dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, eng_id, vpg, afmt, &stream_enc_regs[en… in dcn303_stream_encoder_create()
939 if (pool->stream_enc[i]->vpg != NULL) { in dcn303_resource_destruct()
940 kfree(DCN30_VPG_FROM_VPG(pool->stream_enc[i]->vpg)); in dcn303_resource_destruct()
941 pool->stream_enc[i]->vpg = NULL; in dcn303_resource_destruct()

Completed in 87 milliseconds

12