Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn31/
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()
66 if (vpg->ctx->dc->debug.enable_mem_low_power.bits.vpg == false) in vpg31_poweron()
Ddcn31_vpg.h30 #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);
Ddcn31_hpo_dp_stream_encoder.c441 enc->vpg->funcs->update_generic_info_packet( in dcn31_hpo_dp_stream_enc_update_dp_info_packets()
442 enc->vpg, in dcn31_hpo_dp_stream_enc_update_dp_info_packets()
448 enc->vpg->funcs->update_generic_info_packet( in dcn31_hpo_dp_stream_enc_update_dp_info_packets()
449 enc->vpg, in dcn31_hpo_dp_stream_enc_update_dp_info_packets()
455 enc->vpg->funcs->update_generic_info_packet( in dcn31_hpo_dp_stream_enc_update_dp_info_packets()
456 enc->vpg, in dcn31_hpo_dp_stream_enc_update_dp_info_packets()
544 enc3->base.vpg->funcs->update_generic_info_packet( in dcn31_hpo_dp_stream_enc_set_dsc_pps_info_packet()
545 enc3->base.vpg, in dcn31_hpo_dp_stream_enc_set_dsc_pps_info_packet()
743 struct vpg *vpg, in dcn31_hpo_dp_stream_encoder_construct() argument
754 enc3->base.vpg = vpg; in dcn31_hpo_dp_stream_encoder_construct()
Ddcn31_resource.c886 .vpg = true,
1176 static struct vpg *dcn31_vpg_create( in dcn31_vpg_create()
1234 struct vpg *vpg; in dcn31_stream_encoder_create() local
1247 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn31_stream_encoder_create()
1250 if (!enc1 || !vpg || !afmt) { in dcn31_stream_encoder_create()
1252 kfree(vpg); in dcn31_stream_encoder_create()
1258 eng_id, vpg, afmt, in dcn31_stream_encoder_create()
1270 struct vpg *vpg; in dcn31_hpo_dp_stream_encoder_create() local
1297 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn31_hpo_dp_stream_encoder_create()
1300 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
[all …]
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 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()
Ddcn31_hpo_dp_stream_encoder.h238 struct vpg *vpg,
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_vpg.h30 #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,
Ddcn30_dio_stream_encoder.c60 enc1->base.vpg->funcs->update_generic_info_packet( in enc3_update_hdmi_info_packet()
61 enc1->base.vpg, in enc3_update_hdmi_info_packet()
351 enc1->base.vpg->funcs->update_generic_info_packet( in enc3_dp_set_dsc_pps_info_packet()
352 enc1->base.vpg, in enc3_dp_set_dsc_pps_info_packet()
416 enc->vpg->funcs->update_generic_info_packet( in enc3_stream_encoder_update_dp_info_packets()
417 enc->vpg, in enc3_stream_encoder_update_dp_info_packets()
431 enc->vpg->funcs->update_generic_info_packet( in enc3_stream_encoder_update_dp_info_packets()
432 enc->vpg, in enc3_stream_encoder_update_dp_info_packets()
438 enc->vpg->funcs->update_generic_info_packet( in enc3_stream_encoder_update_dp_info_packets()
439 enc->vpg, in enc3_stream_encoder_update_dp_info_packets()
[all …]
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()
Ddcn30_resource.c985 static struct vpg *dcn30_vpg_create( in dcn30_vpg_create()
1023 struct vpg *vpg; in dcn30_stream_encoder_create() local
1036 vpg = dcn30_vpg_create(ctx, vpg_inst); in dcn30_stream_encoder_create()
1039 if (!enc1 || !vpg || !afmt) { in dcn30_stream_encoder_create()
1041 kfree(vpg); in dcn30_stream_encoder_create()
1047 eng_id, vpg, afmt, in dcn30_stream_encoder_create()
1086 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn30_resource_destruct()
1087 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn30_resource_destruct()
1088 pool->base.stream_enc[i]->vpg = NULL; in dcn30_resource_destruct()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/hw/
Dstream_encoder.h109 struct vpg *vpg; member
276 struct vpg *vpg; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/
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()
Ddcn32_resource.c1124 static struct vpg *dcn32_vpg_create( in dcn32_vpg_create()
1209 struct vpg *vpg; in dcn32_stream_encoder_create() local
1222 vpg = dcn32_vpg_create(ctx, vpg_inst); in dcn32_stream_encoder_create()
1225 if (!enc1 || !vpg || !afmt) { in dcn32_stream_encoder_create()
1227 kfree(vpg); in dcn32_stream_encoder_create()
1241 eng_id, vpg, afmt, in dcn32_stream_encoder_create()
1253 struct vpg *vpg; in dcn32_hpo_dp_stream_encoder_create() local
1280 vpg = dcn32_vpg_create(ctx, vpg_inst); in dcn32_hpo_dp_stream_encoder_create()
1283 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn32_hpo_dp_stream_encoder_create()
1285 kfree(vpg); in dcn32_hpo_dp_stream_encoder_create()
[all …]
Ddcn32_dio_stream_encoder.h255 struct vpg *vpg,
/linux-6.1.9/drivers/gpu/drm/bridge/synopsys/
Ddw-mipi-dsi.c259 bool vpg; member
558 if (dsi->vpg_defs.vpg) { in dw_mipi_dsi_video_mode_config()
1018 struct debugfs_entries *vpg = data; in dw_mipi_dsi_debugfs_write() local
1022 if (!vpg) in dw_mipi_dsi_debugfs_write()
1025 dsi = vpg->dsi; in dw_mipi_dsi_debugfs_write()
1027 *vpg->reg = (bool)val; in dw_mipi_dsi_debugfs_write()
1031 if (*vpg->reg) in dw_mipi_dsi_debugfs_write()
1032 mode_cfg |= vpg->mask; in dw_mipi_dsi_debugfs_write()
1034 mode_cfg &= ~vpg->mask; in dw_mipi_dsi_debugfs_write()
1043 struct debugfs_entries *vpg = data; in dw_mipi_dsi_debugfs_show() local
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn314/
Ddcn314_dio_stream_encoder.c470 struct vpg *vpg, in dcn314_dio_stream_encoder_construct() argument
480 enc1->base.vpg = vpg; in dcn314_dio_stream_encoder_construct()
485 enc1->base.stream_enc_inst = vpg->inst; in dcn314_dio_stream_encoder_construct()
Ddcn314_resource.c914 .vpg = true,
1202 static struct vpg *dcn31_vpg_create( in dcn31_vpg_create()
1260 struct vpg *vpg; in dcn314_stream_encoder_create() local
1273 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn314_stream_encoder_create()
1276 if (!enc1 || !vpg || !afmt) { in dcn314_stream_encoder_create()
1278 kfree(vpg); in dcn314_stream_encoder_create()
1284 eng_id, vpg, afmt, in dcn314_stream_encoder_create()
1296 struct vpg *vpg; in dcn31_hpo_dp_stream_encoder_create() local
1324 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn31_hpo_dp_stream_encoder_create()
1327 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
[all …]
Ddcn314_dio_stream_encoder.h270 struct vpg *vpg,
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn315/
Ddcn315_resource.c884 .vpg = true,
1172 static struct vpg *dcn31_vpg_create( in dcn31_vpg_create()
1230 struct vpg *vpg; in dcn315_stream_encoder_create() local
1245 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn315_stream_encoder_create()
1248 if (!enc1 || !vpg || !afmt) { in dcn315_stream_encoder_create()
1250 kfree(vpg); in dcn315_stream_encoder_create()
1256 eng_id, vpg, afmt, in dcn315_stream_encoder_create()
1268 struct vpg *vpg; in dcn31_hpo_dp_stream_encoder_create() local
1295 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn31_hpo_dp_stream_encoder_create()
1298 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn316/
Ddcn316_resource.c884 .vpg = true,
1171 static struct vpg *dcn31_vpg_create( in dcn31_vpg_create()
1231 struct vpg *vpg; in dcn316_stream_encoder_create() local
1244 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn316_stream_encoder_create()
1247 if (!enc1 || !vpg || !afmt) { in dcn316_stream_encoder_create()
1249 kfree(vpg); in dcn316_stream_encoder_create()
1255 eng_id, vpg, afmt, in dcn316_stream_encoder_create()
1268 struct vpg *vpg; in dcn31_hpo_dp_stream_encoder_create() local
1295 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn31_hpo_dp_stream_encoder_create()
1298 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn321/
Ddcn321_resource.c1110 static struct vpg *dcn321_vpg_create( in dcn321_vpg_create()
1195 struct vpg *vpg; in dcn321_stream_encoder_create() local
1208 vpg = dcn321_vpg_create(ctx, vpg_inst); in dcn321_stream_encoder_create()
1211 if (!enc1 || !vpg || !afmt) { in dcn321_stream_encoder_create()
1213 kfree(vpg); in dcn321_stream_encoder_create()
1227 eng_id, vpg, afmt, in dcn321_stream_encoder_create()
1239 struct vpg *vpg; in dcn321_hpo_dp_stream_encoder_create() local
1266 vpg = dcn321_vpg_create(ctx, vpg_inst); in dcn321_hpo_dp_stream_encoder_create()
1269 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn321_hpo_dp_stream_encoder_create()
1271 kfree(vpg); in dcn321_hpo_dp_stream_encoder_create()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn302/
Ddcn302_resource.c303 static struct vpg *dcn302_vpg_create(struct dc_context *ctx, uint32_t inst) in dcn302_vpg_create()
400 struct vpg *vpg; in dcn302_stream_encoder_create() local
413 vpg = dcn302_vpg_create(ctx, vpg_inst); in dcn302_stream_encoder_create()
416 if (!enc1 || !vpg || !afmt) { in dcn302_stream_encoder_create()
418 kfree(vpg); in dcn302_stream_encoder_create()
423 …dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, eng_id, vpg, afmt, &stream_enc_regs[en… in dcn302_stream_encoder_create()
1006 if (pool->stream_enc[i]->vpg != NULL) { in dcn302_resource_destruct()
1007 kfree(DCN30_VPG_FROM_VPG(pool->stream_enc[i]->vpg)); in dcn302_resource_destruct()
1008 pool->stream_enc[i]->vpg = NULL; in dcn302_resource_destruct()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn303/
Ddcn303_resource.c279 static struct vpg *dcn303_vpg_create(struct dc_context *ctx, uint32_t inst) in dcn303_vpg_create()
370 struct vpg *vpg; in dcn303_stream_encoder_create() local
383 vpg = dcn303_vpg_create(ctx, vpg_inst); in dcn303_stream_encoder_create()
386 if (!enc1 || !vpg || !afmt) { in dcn303_stream_encoder_create()
388 kfree(vpg); in dcn303_stream_encoder_create()
393 …dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, eng_id, vpg, afmt, &stream_enc_regs[en… in dcn303_stream_encoder_create()
933 if (pool->stream_enc[i]->vpg != NULL) { in dcn303_resource_destruct()
934 kfree(DCN30_VPG_FROM_VPG(pool->stream_enc[i]->vpg)); in dcn303_resource_destruct()
935 pool->stream_enc[i]->vpg = NULL; in dcn303_resource_destruct()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn301/
Ddcn301_resource.c963 static struct vpg *dcn301_vpg_create( in dcn301_vpg_create()
1001 struct vpg *vpg; in dcn301_stream_encoder_create() local
1014 vpg = dcn301_vpg_create(ctx, vpg_inst); in dcn301_stream_encoder_create()
1017 if (!enc1 || !vpg || !afmt) { in dcn301_stream_encoder_create()
1019 kfree(vpg); in dcn301_stream_encoder_create()
1025 eng_id, vpg, afmt, in dcn301_stream_encoder_create()
1064 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn301_destruct()
1065 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn301_destruct()
1066 pool->base.stream_enc[i]->vpg = NULL; in dcn301_destruct()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/
Ddc_link.c4254 struct vpg *vpg = pipe_ctx->stream_res.stream_enc->vpg; in core_link_enable_stream() local
4258 vpg = pipe_ctx->stream_res.hpo_dp_stream_enc->vpg; in core_link_enable_stream()
4305 if (vpg && vpg->funcs->vpg_poweron) in core_link_enable_stream()
4306 vpg->funcs->vpg_poweron(vpg); in core_link_enable_stream()
4449 struct vpg *vpg = pipe_ctx->stream_res.stream_enc->vpg; in core_link_disable_stream() local
4452 vpg = pipe_ctx->stream_res.hpo_dp_stream_enc->vpg; in core_link_disable_stream()
4538 if (vpg && vpg->funcs->vpg_powerdown) in core_link_disable_stream()
4539 vpg->funcs->vpg_powerdown(vpg); in core_link_disable_stream()

12