/linux/drivers/gpu/drm/amd/display/dc/dcn31/ |
A D | dcn31_vpg.c | 52 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() 66 if (vpg->ctx->dc->debug.enable_mem_low_power.bits.vpg == false) in vpg31_poweron()
|
A D | dcn31_vpg.h | 30 #define DCN31_VPG_FROM_VPG(vpg)\ argument 31 container_of(vpg, struct dcn31_vpg, base) 143 struct vpg base; 150 struct vpg *vpg); 153 struct vpg *vpg);
|
A D | dcn31_hpo_dp_stream_encoder.c | 442 enc->vpg->funcs->update_generic_info_packet( in dcn31_hpo_dp_stream_enc_update_dp_info_packets() 443 enc->vpg, in dcn31_hpo_dp_stream_enc_update_dp_info_packets() 450 enc->vpg->funcs->update_generic_info_packet( in dcn31_hpo_dp_stream_enc_update_dp_info_packets() 451 enc->vpg, in dcn31_hpo_dp_stream_enc_update_dp_info_packets() 458 enc->vpg->funcs->update_generic_info_packet( in dcn31_hpo_dp_stream_enc_update_dp_info_packets() 459 enc->vpg, in dcn31_hpo_dp_stream_enc_update_dp_info_packets() 548 enc3->base.vpg->funcs->update_generic_info_packet( in dcn31_hpo_dp_stream_enc_set_dsc_pps_info_packet() 549 enc3->base.vpg, in dcn31_hpo_dp_stream_enc_set_dsc_pps_info_packet() 736 struct vpg *vpg, in dcn31_hpo_dp_stream_encoder_construct() argument 747 enc3->base.vpg = vpg; in dcn31_hpo_dp_stream_encoder_construct()
|
A D | dcn31_hwseq.c | 96 …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 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()
|
A D | dcn31_resource.c | 1028 .vpg = true, 1310 static struct vpg *dcn31_vpg_create( in dcn31_vpg_create() 1368 struct vpg *vpg; in dcn31_stream_encoder_create() local 1381 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn31_stream_encoder_create() 1384 if (!enc1 || !vpg || !afmt) { in dcn31_stream_encoder_create() 1386 kfree(vpg); in dcn31_stream_encoder_create() 1398 eng_id, vpg, afmt, in dcn31_stream_encoder_create() 1410 struct vpg *vpg; in dcn31_hpo_dp_stream_encoder_create() local 1440 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create() 1442 kfree(vpg); in dcn31_hpo_dp_stream_encoder_create() [all …]
|
A D | dcn31_hpo_dp_stream_encoder.h | 234 struct vpg *vpg,
|
/linux/drivers/gpu/drm/amd/display/dc/dcn30/ |
A D | dcn30_vpg.h | 30 #define DCN30_VPG_FROM_VPG(vpg)\ argument 31 container_of(vpg, struct dcn30_vpg, base) 135 struct vpg; 139 struct vpg *vpg, 145 struct vpg *vpg); 148 struct vpg *vpg); 151 struct vpg { struct 158 struct vpg base; argument 165 struct vpg *vpg,
|
A D | dcn30_dio_stream_encoder.c | 78 enc1->base.vpg, in enc3_update_hdmi_info_packet() 368 enc1->base.vpg, in enc3_dp_set_dsc_pps_info_packet() 432 enc->vpg->funcs->update_generic_info_packet( in enc3_stream_encoder_update_dp_info_packets() 433 enc->vpg, in enc3_stream_encoder_update_dp_info_packets() 439 enc->vpg->funcs->update_generic_info_packet( in enc3_stream_encoder_update_dp_info_packets() 440 enc->vpg, in enc3_stream_encoder_update_dp_info_packets() 446 enc->vpg->funcs->update_generic_info_packet( in enc3_stream_encoder_update_dp_info_packets() 447 enc->vpg, in enc3_stream_encoder_update_dp_info_packets() 841 struct vpg *vpg, in dcn30_dio_stream_encoder_construct() argument 851 enc1->base.vpg = vpg; in dcn30_dio_stream_encoder_construct() [all …]
|
A D | dcn30_vpg.c | 47 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()
|
A D | dcn30_resource.c | 1112 static struct vpg *dcn30_vpg_create( in dcn30_vpg_create() 1151 struct vpg *vpg; in dcn30_stream_encoder_create() local 1164 vpg = dcn30_vpg_create(ctx, vpg_inst); in dcn30_stream_encoder_create() 1167 if (!enc1 || !vpg || !afmt) { in dcn30_stream_encoder_create() 1169 kfree(vpg); in dcn30_stream_encoder_create() 1175 eng_id, vpg, afmt, in dcn30_stream_encoder_create() 1215 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn30_resource_destruct() 1216 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn30_resource_destruct() 1217 pool->base.stream_enc[i]->vpg = NULL; in dcn30_resource_destruct()
|
A D | dcn30_dio_stream_encoder.h | 280 struct vpg *vpg,
|
/linux/drivers/gpu/drm/amd/display/dc/inc/hw/ |
A D | stream_encoder.h | 107 struct vpg *vpg; member 266 struct vpg *vpg; member
|
/linux/drivers/gpu/drm/bridge/synopsys/ |
A D | dw-mipi-dsi.c | 260 bool vpg; member 584 if (dsi->vpg_defs.vpg) { in dw_mipi_dsi_video_mode_config() 1046 struct debugfs_entries *vpg = data; in dw_mipi_dsi_debugfs_write() local 1050 if (!vpg) in dw_mipi_dsi_debugfs_write() 1053 dsi = vpg->dsi; in dw_mipi_dsi_debugfs_write() 1055 *vpg->reg = (bool)val; in dw_mipi_dsi_debugfs_write() 1059 if (*vpg->reg) in dw_mipi_dsi_debugfs_write() 1060 mode_cfg |= vpg->mask; in dw_mipi_dsi_debugfs_write() 1062 mode_cfg &= ~vpg->mask; in dw_mipi_dsi_debugfs_write() 1073 if (!vpg) in dw_mipi_dsi_debugfs_show() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dcn301/ |
A D | dcn301_resource.c | 966 static struct vpg *dcn301_vpg_create( in dcn301_vpg_create() 1005 struct vpg *vpg; in dcn301_stream_encoder_create() local 1018 vpg = dcn301_vpg_create(ctx, vpg_inst); in dcn301_stream_encoder_create() 1021 if (!enc1 || !vpg || !afmt) { in dcn301_stream_encoder_create() 1023 kfree(vpg); in dcn301_stream_encoder_create() 1029 eng_id, vpg, afmt, in dcn301_stream_encoder_create() 1069 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn301_destruct() 1070 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn301_destruct() 1071 pool->base.stream_enc[i]->vpg = NULL; in dcn301_destruct()
|
/linux/drivers/gpu/drm/amd/display/dc/dcn302/ |
A D | dcn302_resource.c | 432 static struct vpg *dcn302_vpg_create(struct dc_context *ctx, uint32_t inst) in dcn302_vpg_create() 529 struct vpg *vpg; in dcn302_stream_encoder_create() local 542 vpg = dcn302_vpg_create(ctx, vpg_inst); in dcn302_stream_encoder_create() 545 if (!enc1 || !vpg || !afmt) { in dcn302_stream_encoder_create() 547 kfree(vpg); in dcn302_stream_encoder_create() 552 …dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, eng_id, vpg, afmt, &stream_enc_regs[en… in dcn302_stream_encoder_create() 1138 if (pool->stream_enc[i]->vpg != NULL) { in dcn302_resource_destruct() 1139 kfree(DCN30_VPG_FROM_VPG(pool->stream_enc[i]->vpg)); in dcn302_resource_destruct() 1140 pool->stream_enc[i]->vpg = NULL; in dcn302_resource_destruct()
|
/linux/drivers/gpu/drm/amd/display/dc/dcn303/ |
A D | dcn303_resource.c | 406 static struct vpg *dcn303_vpg_create(struct dc_context *ctx, uint32_t inst) in dcn303_vpg_create() 497 struct vpg *vpg; in dcn303_stream_encoder_create() local 510 vpg = dcn303_vpg_create(ctx, vpg_inst); in dcn303_stream_encoder_create() 513 if (!enc1 || !vpg || !afmt) { in dcn303_stream_encoder_create() 515 kfree(vpg); in dcn303_stream_encoder_create() 520 …dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, eng_id, vpg, afmt, &stream_enc_regs[en… in dcn303_stream_encoder_create() 1064 if (pool->stream_enc[i]->vpg != NULL) { in dcn303_resource_destruct() 1065 kfree(DCN30_VPG_FROM_VPG(pool->stream_enc[i]->vpg)); in dcn303_resource_destruct() 1066 pool->stream_enc[i]->vpg = NULL; in dcn303_resource_destruct()
|
/linux/drivers/gpu/drm/amd/display/dc/core/ |
A D | dc_link.c | 4129 struct vpg *vpg = pipe_ctx->stream_res.stream_enc->vpg; local 4132 vpg = pipe_ctx->stream_res.hpo_dp_stream_enc->vpg; 4226 if (vpg && vpg->funcs->vpg_poweron) 4227 vpg->funcs->vpg_poweron(vpg); 4379 struct vpg *vpg = pipe_ctx->stream_res.stream_enc->vpg; local 4382 vpg = pipe_ctx->stream_res.hpo_dp_stream_enc->vpg; 4469 if (vpg && vpg->funcs->vpg_powerdown) 4470 vpg->funcs->vpg_powerdown(vpg);
|
/linux/drivers/gpu/drm/amd/display/dc/ |
A D | dc.h | 483 bool vpg: 1; member
|