/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn31/ |
H 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 in vpg31_poweron() [all...] |
H A D | dcn31_vpg.h | 30 #define DCN31_VPG_FROM_VPG(vpg)\ 31 container_of(vpg, struct dcn31_vpg, base) 143 struct vpg base; 150 struct vpg *vpg); 153 struct vpg *vpg);
|
H A D | dcn31_hpo_dp_stream_encoder.c | 457 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() 478 enc->vpg->funcs->update_generic_info_packet( in dcn31_hpo_dp_stream_enc_update_dp_info_packets() 479 enc->vpg, in dcn31_hpo_dp_stream_enc_update_dp_info_packets() 568 enc3->base.vpg->funcs->update_generic_info_packet( in dcn31_hpo_dp_stream_enc_set_dsc_pps_info_packet() 569 enc3->base.vpg, in dcn31_hpo_dp_stream_enc_set_dsc_pps_info_packet() 753 dcn31_hpo_dp_stream_encoder_construct( struct dcn31_hpo_dp_stream_encoder *enc3, struct dc_context *ctx, struct dc_bios *bp, uint32_t inst, enum engine_id eng_id, struct vpg *vpg, struct apg *apg, const struct dcn31_hpo_dp_stream_encoder_registers *regs, const struct dcn31_hpo_dp_stream_encoder_shift *hpo_se_shift, const struct dcn31_hpo_dp_stream_encoder_mask *hpo_se_mask) dcn31_hpo_dp_stream_encoder_construct() argument [all...] |
H A D | dcn31_resource.c | 886 .vpg = true, 1164 static struct vpg *dcn31_vpg_create( in dcn31_vpg_create() 1222 struct vpg *vpg; in dcn31_stream_encoder_create() local 1235 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn31_stream_encoder_create() 1238 if (!enc1 || !vpg || !afmt) { in dcn31_stream_encoder_create() 1240 kfree(vpg); in dcn31_stream_encoder_create() 1246 eng_id, vpg, afmt, in dcn31_stream_encoder_create() 1258 struct vpg *vpg; in dcn31_hpo_dp_stream_encoder_create() local [all...] |
H A D | dcn31_hwseq.c | 96 if (dc->debug.enable_mem_low_power.bits.vpg && dc->res_pool->stream_enc[0]->vpg->funcs->vpg_powerdown) { 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]->vpg); in enable_memory_low_power()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_vpg.h | 30 #define DCN30_VPG_FROM_VPG(vpg)\ 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 [all...] |
H A D | dcn30_dio_stream_encoder.c | 61 enc1->base.vpg->funcs->update_generic_info_packet( in enc3_update_hdmi_info_packet() 62 enc1->base.vpg, in enc3_update_hdmi_info_packet() 352 enc1->base.vpg->funcs->update_generic_info_packet( in enc3_dp_set_dsc_pps_info_packet() 353 enc1->base.vpg, in enc3_dp_set_dsc_pps_info_packet() 433 enc->vpg->funcs->update_generic_info_packet( in enc3_stream_encoder_update_dp_info_packets() 434 enc->vpg, in enc3_stream_encoder_update_dp_info_packets() 448 enc->vpg->funcs->update_generic_info_packet( in enc3_stream_encoder_update_dp_info_packets() 449 enc->vpg, in enc3_stream_encoder_update_dp_info_packets() 463 enc->vpg->funcs->update_generic_info_packet( in enc3_stream_encoder_update_dp_info_packets() 464 enc->vpg, in enc3_stream_encoder_update_dp_info_packets() 880 dcn30_dio_stream_encoder_construct( struct dcn10_stream_encoder *enc1, struct dc_context *ctx, struct dc_bios *bp, enum engine_id eng_id, struct vpg *vpg, struct afmt *afmt, const struct dcn10_stream_enc_registers *regs, const struct dcn10_stream_encoder_shift *se_shift, const struct dcn10_stream_encoder_mask *se_mask) dcn30_dio_stream_encoder_construct() argument [all...] |
H A D | dcn30_vpg.c | 47 struct vpg *vpg, in vpg3_update_generic_info_packet() 52 struct dcn30_vpg *vpg3 = DCN30_VPG_FROM_VPG(vpg); in vpg3_update_generic_info_packet() 46 vpg3_update_generic_info_packet( struct vpg *vpg, uint32_t packet_index, const struct dc_info_packet *info_packet, bool immediate_update) vpg3_update_generic_info_packet() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_vpg.h | 30 #define DCN30_VPG_FROM_VPG(vpg)\ 31 container_of(vpg, struct dcn30_vpg, base) 103 struct vpg; 107 struct vpg *vpg, 112 struct vpg { struct 119 struct vpg base;
|
H A D | dcn30_dio_stream_encoder.c | 77 enc1->base.vpg->funcs->update_generic_info_packet( in enc3_update_hdmi_info_packet() 78 enc1->base.vpg, in enc3_update_hdmi_info_packet() 365 enc1->base.vpg->funcs->update_generic_info_packet( in enc3_dp_set_dsc_pps_info_packet() 366 enc1->base.vpg, in enc3_dp_set_dsc_pps_info_packet() 429 enc->vpg->funcs->update_generic_info_packet( in enc3_stream_encoder_update_dp_info_packets() 430 enc->vpg, in enc3_stream_encoder_update_dp_info_packets() 435 enc->vpg->funcs->update_generic_info_packet( in enc3_stream_encoder_update_dp_info_packets() 436 enc->vpg, in enc3_stream_encoder_update_dp_info_packets() 441 enc->vpg->funcs->update_generic_info_packet( in enc3_stream_encoder_update_dp_info_packets() 442 enc->vpg, in enc3_stream_encoder_update_dp_info_packets() 829 dcn30_dio_stream_encoder_construct( struct dcn10_stream_encoder *enc1, struct dc_context *ctx, struct dc_bios *bp, enum engine_id eng_id, struct vpg *vpg, struct afmt *afmt, const struct dcn10_stream_enc_registers *regs, const struct dcn10_stream_encoder_shift *se_shift, const struct dcn10_stream_encoder_mask *se_mask) dcn30_dio_stream_encoder_construct() argument [all...] |
H A D | dcn30_vpg.c | 47 struct vpg *vpg, in vpg3_update_generic_info_packet() 51 struct dcn30_vpg *vpg3 = DCN30_VPG_FROM_VPG(vpg); in vpg3_update_generic_info_packet() 46 vpg3_update_generic_info_packet( struct vpg *vpg, uint32_t packet_index, const struct dc_info_packet *info_packet) vpg3_update_generic_info_packet() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/inc/hw/ |
H A D | stream_encoder.h | 117 struct vpg *vpg; member 292 struct vpg *vpg; member
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn314/ |
H A D | dcn314_dio_stream_encoder.c | 479 struct vpg *vpg, in dcn314_dio_stream_encoder_construct() 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() 474 dcn314_dio_stream_encoder_construct( struct dcn10_stream_encoder *enc1, struct dc_context *ctx, struct dc_bios *bp, enum engine_id eng_id, struct vpg *vpg, struct afmt *afmt, const struct dcn10_stream_enc_registers *regs, const struct dcn10_stream_encoder_shift *se_shift, const struct dcn10_stream_encoder_mask *se_mask) dcn314_dio_stream_encoder_construct() argument
|
H A D | dcn314_resource.c | 905 .vpg = true, 1236 static struct vpg *dcn31_vpg_create( in dcn31_vpg_create() 1294 struct vpg *vpg; in dcn314_stream_encoder_create() local 1307 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn314_stream_encoder_create() 1310 if (!enc1 || !vpg || !afmt) { in dcn314_stream_encoder_create() 1312 kfree(vpg); in dcn314_stream_encoder_create() 1318 eng_id, vpg, afmt, in dcn314_stream_encoder_create() 1330 struct vpg *vpg; in dcn31_hpo_dp_stream_encoder_create() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn315/ |
H A D | dcn315_resource.c | 886 .vpg = true, 1162 static struct vpg *dcn31_vpg_create( in dcn31_vpg_create() 1220 struct vpg *vpg; in dcn315_stream_encoder_create() local 1235 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn315_stream_encoder_create() 1238 if (!enc1 || !vpg || !afmt) { in dcn315_stream_encoder_create() 1240 kfree(vpg); in dcn315_stream_encoder_create() 1246 eng_id, vpg, afmt, in dcn315_stream_encoder_create() 1258 struct vpg *vpg; in dcn31_hpo_dp_stream_encoder_create() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn316/ |
H A D | dcn316_resource.c | 883 .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 [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-mipi-dsi.c | 259 bool vpg; member 567 if (dsi->vpg_defs.vpg) { in dw_mipi_dsi_video_mode_config() 1019 struct debugfs_entries *vpg = data; in dw_mipi_dsi_debugfs_write() local 1023 if (!vpg) in dw_mipi_dsi_debugfs_write() 1026 dsi = vpg->dsi; in dw_mipi_dsi_debugfs_write() 1028 *vpg->reg = (bool)val; in dw_mipi_dsi_debugfs_write() 1032 if (*vpg->reg) in dw_mipi_dsi_debugfs_write() 1033 mode_cfg |= vpg->mask; in dw_mipi_dsi_debugfs_write() 1035 mode_cfg &= ~vpg->mask; in dw_mipi_dsi_debugfs_write() 1044 struct debugfs_entries *vpg in dw_mipi_dsi_debugfs_show() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-mipi-dsi.c | 259 bool vpg; member 560 if (dsi->vpg_defs.vpg) { in dw_mipi_dsi_video_mode_config() 1022 struct debugfs_entries *vpg = data; in dw_mipi_dsi_debugfs_write() local 1026 if (!vpg) in dw_mipi_dsi_debugfs_write() 1029 dsi = vpg->dsi; in dw_mipi_dsi_debugfs_write() 1031 *vpg->reg = (bool)val; in dw_mipi_dsi_debugfs_write() 1035 if (*vpg->reg) in dw_mipi_dsi_debugfs_write() 1036 mode_cfg |= vpg->mask; in dw_mipi_dsi_debugfs_write() 1038 mode_cfg &= ~vpg->mask; in dw_mipi_dsi_debugfs_write() 1047 struct debugfs_entries *vpg in dw_mipi_dsi_debugfs_show() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn321/ |
H A D | dcn321_resource.c | 1099 static struct vpg *dcn321_vpg_create( in dcn321_vpg_create() 1184 struct vpg *vpg; in dcn321_stream_encoder_create() local 1197 vpg = dcn321_vpg_create(ctx, vpg_inst); in dcn321_stream_encoder_create() 1200 if (!enc1 || !vpg || !afmt) { in dcn321_stream_encoder_create() 1202 kfree(vpg); in dcn321_stream_encoder_create() 1216 eng_id, vpg, afmt, in dcn321_stream_encoder_create() 1228 struct vpg *vpg; in dcn321_hpo_dp_stream_encoder_create() local 1255 vpg in dcn321_hpo_dp_stream_encoder_create() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn32/ |
H A D | dcn32_dio_stream_encoder.c | 510 struct vpg *vpg, in dcn32_dio_stream_encoder_construct() 520 enc1->base.vpg = vpg; in dcn32_dio_stream_encoder_construct() 525 enc1->base.stream_enc_inst = vpg->inst; in dcn32_dio_stream_encoder_construct() 505 dcn32_dio_stream_encoder_construct( struct dcn10_stream_encoder *enc1, struct dc_context *ctx, struct dc_bios *bp, enum engine_id eng_id, struct vpg *vpg, struct afmt *afmt, const struct dcn10_stream_enc_registers *regs, const struct dcn10_stream_encoder_shift *se_shift, const struct dcn10_stream_encoder_mask *se_mask) dcn32_dio_stream_encoder_construct() argument
|
H A D | dcn32_resource.c | 1113 static struct vpg *dcn32_vpg_create( in dcn32_vpg_create() 1198 struct vpg *vpg; in dcn32_stream_encoder_create() local 1211 vpg = dcn32_vpg_create(ctx, vpg_inst); in dcn32_stream_encoder_create() 1214 if (!enc1 || !vpg || !afmt) { in dcn32_stream_encoder_create() 1216 kfree(vpg); in dcn32_stream_encoder_create() 1230 eng_id, vpg, afmt, in dcn32_stream_encoder_create() 1242 struct vpg *vpg; in dcn32_hpo_dp_stream_encoder_create() local 1269 vpg in dcn32_hpo_dp_stream_encoder_create() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn302/ |
H A D | dcn302_resource.c | 294 static struct vpg *dcn302_vpg_create(struct dc_context *ctx, uint32_t inst) in dcn302_vpg_create() 391 struct vpg *vpg; in dcn302_stream_encoder_create() local 404 vpg = dcn302_vpg_create(ctx, vpg_inst); in dcn302_stream_encoder_create() 407 if (!enc1 || !vpg || !afmt) { in dcn302_stream_encoder_create() 409 kfree(vpg); in dcn302_stream_encoder_create() 414 dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, eng_id, vpg, afmt, &stream_enc_regs[eng_id], in dcn302_stream_encoder_create() 991 if (pool->stream_enc[i]->vpg != NULL) { in dcn302_resource_destruct() 992 kfree(DCN30_VPG_FROM_VPG(pool->stream_enc[i]->vpg)); in dcn302_resource_destruct() 993 pool->stream_enc[i]->vpg in dcn302_resource_destruct() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn303/ |
H A D | dcn303_resource.c | 269 static struct vpg *dcn303_vpg_create(struct dc_context *ctx, uint32_t inst) in dcn303_vpg_create() 360 struct vpg *vpg; in dcn303_stream_encoder_create() local 373 vpg = dcn303_vpg_create(ctx, vpg_inst); in dcn303_stream_encoder_create() 376 if (!enc1 || !vpg || !afmt) { in dcn303_stream_encoder_create() 378 kfree(vpg); in dcn303_stream_encoder_create() 383 dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, eng_id, vpg, afmt, &stream_enc_regs[eng_id], in dcn303_stream_encoder_create() 917 if (pool->stream_enc[i]->vpg != NULL) { in dcn303_resource_destruct() 918 kfree(DCN30_VPG_FROM_VPG(pool->stream_enc[i]->vpg)); in dcn303_resource_destruct() 919 pool->stream_enc[i]->vpg in dcn303_resource_destruct() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/hw/ |
H A D | stream_encoder.h | 108 struct vpg *vpg; member
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/link/ |
H A D | link_dpms.c | 2291 struct vpg *vpg = pipe_ctx->stream_res.stream_enc->vpg; in link_set_dpms_off() local 2296 vpg = pipe_ctx->stream_res.hpo_dp_stream_enc->vpg; in link_set_dpms_off() 2382 if (vpg && vpg->funcs->vpg_powerdown) in link_set_dpms_off() 2383 vpg->funcs->vpg_powerdown(vpg); in link_set_dpms_off() 2396 struct vpg *vp in link_set_dpms_on() local [all...] |