Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/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()
66 if (vpg->ctx->dc->debug.enable_mem_low_power.bits.vpg == false) in vpg31_poweron()
A 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);
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()
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()
569 enc3->base.vpg, in dcn31_hpo_dp_stream_enc_set_dsc_pps_info_packet()
759 struct vpg *vpg, in dcn31_hpo_dp_stream_encoder_construct() argument
[all …]
A Ddcn31_resource.c887 .vpg = true,
1181 static struct vpg *dcn31_vpg_create( in dcn31_vpg_create()
1239 struct vpg *vpg; in dcn31_stream_encoder_create() local
1252 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn31_stream_encoder_create()
1255 if (!enc1 || !vpg || !afmt) { in dcn31_stream_encoder_create()
1257 kfree(vpg); in dcn31_stream_encoder_create()
1263 eng_id, vpg, afmt, in dcn31_stream_encoder_create()
1275 struct vpg *vpg; in dcn31_hpo_dp_stream_encoder_create() local
1305 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
1307 kfree(vpg); in dcn31_hpo_dp_stream_encoder_create()
[all …]
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 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 Ddcn31_hpo_dp_stream_encoder.h238 struct vpg *vpg,
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn30/
A 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,
A Ddcn30_dio_stream_encoder.c61 enc1->base.vpg, in enc3_update_hdmi_info_packet()
352 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()
448 enc->vpg, in enc3_stream_encoder_update_dp_info_packets()
455 enc->vpg, in enc3_stream_encoder_update_dp_info_packets()
462 enc->vpg, in enc3_stream_encoder_update_dp_info_packets()
473 enc->vpg, in enc3_stream_encoder_update_dp_info_packets()
869 struct vpg *vpg, in dcn30_dio_stream_encoder_construct() argument
879 enc1->base.vpg = vpg; in dcn30_dio_stream_encoder_construct()
[all …]
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()
A Ddcn30_resource.c991 static struct vpg *dcn30_vpg_create( in dcn30_vpg_create()
1029 struct vpg *vpg; in dcn30_stream_encoder_create() local
1042 vpg = dcn30_vpg_create(ctx, vpg_inst); in dcn30_stream_encoder_create()
1045 if (!enc1 || !vpg || !afmt) { in dcn30_stream_encoder_create()
1047 kfree(vpg); in dcn30_stream_encoder_create()
1053 eng_id, vpg, afmt, in dcn30_stream_encoder_create()
1092 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn30_resource_destruct()
1093 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn30_resource_destruct()
1094 pool->base.stream_enc[i]->vpg = NULL; in dcn30_resource_destruct()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/inc/hw/
A Dstream_encoder.h118 struct vpg *vpg; member
292 struct vpg *vpg; member
/linux-6.3-rc2/drivers/gpu/drm/bridge/synopsys/
A 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()
1045 if (!vpg) in dw_mipi_dsi_debugfs_show()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn314/
A Ddcn314_dio_stream_encoder.c473 struct vpg *vpg, in dcn314_dio_stream_encoder_construct() argument
483 enc1->base.vpg = vpg; in dcn314_dio_stream_encoder_construct()
488 enc1->base.stream_enc_inst = vpg->inst; in dcn314_dio_stream_encoder_construct()
A Ddcn314_resource.c921 .vpg = true,
1213 static struct vpg *dcn31_vpg_create( in dcn31_vpg_create()
1271 struct vpg *vpg; in dcn314_stream_encoder_create() local
1284 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn314_stream_encoder_create()
1287 if (!enc1 || !vpg || !afmt) { in dcn314_stream_encoder_create()
1289 kfree(vpg); in dcn314_stream_encoder_create()
1295 eng_id, vpg, afmt, in dcn314_stream_encoder_create()
1307 struct vpg *vpg; in dcn31_hpo_dp_stream_encoder_create() local
1338 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
1340 kfree(vpg); in dcn31_hpo_dp_stream_encoder_create()
[all …]
A Ddcn314_dio_stream_encoder.h270 struct vpg *vpg,
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn32/
A Ddcn32_dio_stream_encoder.c506 struct vpg *vpg, in dcn32_dio_stream_encoder_construct() argument
516 enc1->base.vpg = vpg; in dcn32_dio_stream_encoder_construct()
521 enc1->base.stream_enc_inst = vpg->inst; in dcn32_dio_stream_encoder_construct()
A Ddcn32_resource.c1126 static struct vpg *dcn32_vpg_create( in dcn32_vpg_create()
1211 struct vpg *vpg; in dcn32_stream_encoder_create() local
1224 vpg = dcn32_vpg_create(ctx, vpg_inst); in dcn32_stream_encoder_create()
1227 if (!enc1 || !vpg || !afmt) { in dcn32_stream_encoder_create()
1229 kfree(vpg); in dcn32_stream_encoder_create()
1243 eng_id, vpg, afmt, in dcn32_stream_encoder_create()
1255 struct vpg *vpg; in dcn32_hpo_dp_stream_encoder_create() local
1282 vpg = dcn32_vpg_create(ctx, vpg_inst); in dcn32_hpo_dp_stream_encoder_create()
1285 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn32_hpo_dp_stream_encoder_create()
1287 kfree(vpg); in dcn32_hpo_dp_stream_encoder_create()
[all …]
A Ddcn32_dio_stream_encoder.h255 struct vpg *vpg,
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn316/
A Ddcn316_resource.c885 .vpg = true,
1176 static struct vpg *dcn31_vpg_create( in dcn31_vpg_create()
1236 struct vpg *vpg; in dcn316_stream_encoder_create() local
1249 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn316_stream_encoder_create()
1252 if (!enc1 || !vpg || !afmt) { in dcn316_stream_encoder_create()
1254 kfree(vpg); in dcn316_stream_encoder_create()
1260 eng_id, vpg, afmt, in dcn316_stream_encoder_create()
1273 struct vpg *vpg; in dcn31_hpo_dp_stream_encoder_create() local
1303 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
1305 kfree(vpg); in dcn31_hpo_dp_stream_encoder_create()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn315/
A Ddcn315_resource.c885 .vpg = true,
1177 static struct vpg *dcn31_vpg_create( in dcn31_vpg_create()
1235 struct vpg *vpg; in dcn315_stream_encoder_create() local
1250 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn315_stream_encoder_create()
1253 if (!enc1 || !vpg || !afmt) { in dcn315_stream_encoder_create()
1255 kfree(vpg); in dcn315_stream_encoder_create()
1261 eng_id, vpg, afmt, in dcn315_stream_encoder_create()
1273 struct vpg *vpg; in dcn31_hpo_dp_stream_encoder_create() local
1303 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
1305 kfree(vpg); in dcn31_hpo_dp_stream_encoder_create()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn321/
A Ddcn321_resource.c1112 static struct vpg *dcn321_vpg_create( in dcn321_vpg_create()
1197 struct vpg *vpg; in dcn321_stream_encoder_create() local
1210 vpg = dcn321_vpg_create(ctx, vpg_inst); in dcn321_stream_encoder_create()
1213 if (!enc1 || !vpg || !afmt) { in dcn321_stream_encoder_create()
1215 kfree(vpg); in dcn321_stream_encoder_create()
1229 eng_id, vpg, afmt, in dcn321_stream_encoder_create()
1241 struct vpg *vpg; in dcn321_hpo_dp_stream_encoder_create() local
1268 vpg = dcn321_vpg_create(ctx, vpg_inst); in dcn321_hpo_dp_stream_encoder_create()
1271 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn321_hpo_dp_stream_encoder_create()
1273 kfree(vpg); in dcn321_hpo_dp_stream_encoder_create()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/link/
A Dlink_dpms.c2236 struct vpg *vpg = pipe_ctx->stream_res.stream_enc->vpg; in link_set_dpms_off() local
2241 vpg = pipe_ctx->stream_res.hpo_dp_stream_enc->vpg; in link_set_dpms_off()
2327 if (vpg && vpg->funcs->vpg_powerdown) in link_set_dpms_off()
2328 vpg->funcs->vpg_powerdown(vpg); in link_set_dpms_off()
2341 struct vpg *vpg = pipe_ctx->stream_res.stream_enc->vpg; in link_set_dpms_on() local
2347 vpg = pipe_ctx->stream_res.hpo_dp_stream_enc->vpg; in link_set_dpms_on()
2394 if (vpg && vpg->funcs->vpg_poweron) in link_set_dpms_on()
2395 vpg->funcs->vpg_poweron(vpg); in link_set_dpms_on()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn303/
A Ddcn303_resource.c287 static struct vpg *dcn303_vpg_create(struct dc_context *ctx, uint32_t inst) in dcn303_vpg_create()
378 struct vpg *vpg; in dcn303_stream_encoder_create() local
391 vpg = dcn303_vpg_create(ctx, vpg_inst); in dcn303_stream_encoder_create()
394 if (!enc1 || !vpg || !afmt) { in dcn303_stream_encoder_create()
396 kfree(vpg); in dcn303_stream_encoder_create()
401 …dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, eng_id, vpg, afmt, &stream_enc_regs[en… in dcn303_stream_encoder_create()
942 if (pool->stream_enc[i]->vpg != NULL) { in dcn303_resource_destruct()
943 kfree(DCN30_VPG_FROM_VPG(pool->stream_enc[i]->vpg)); in dcn303_resource_destruct()
944 pool->stream_enc[i]->vpg = NULL; in dcn303_resource_destruct()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn302/
A Ddcn302_resource.c312 static struct vpg *dcn302_vpg_create(struct dc_context *ctx, uint32_t inst) in dcn302_vpg_create()
409 struct vpg *vpg; in dcn302_stream_encoder_create() local
422 vpg = dcn302_vpg_create(ctx, vpg_inst); in dcn302_stream_encoder_create()
425 if (!enc1 || !vpg || !afmt) { in dcn302_stream_encoder_create()
427 kfree(vpg); in dcn302_stream_encoder_create()
432 …dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, eng_id, vpg, afmt, &stream_enc_regs[en… in dcn302_stream_encoder_create()
1016 if (pool->stream_enc[i]->vpg != NULL) { in dcn302_resource_destruct()
1017 kfree(DCN30_VPG_FROM_VPG(pool->stream_enc[i]->vpg)); in dcn302_resource_destruct()
1018 pool->stream_enc[i]->vpg = NULL; in dcn302_resource_destruct()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn301/
A Ddcn301_resource.c964 static struct vpg *dcn301_vpg_create( in dcn301_vpg_create()
1002 struct vpg *vpg; in dcn301_stream_encoder_create() local
1015 vpg = dcn301_vpg_create(ctx, vpg_inst); in dcn301_stream_encoder_create()
1018 if (!enc1 || !vpg || !afmt) { in dcn301_stream_encoder_create()
1020 kfree(vpg); in dcn301_stream_encoder_create()
1026 eng_id, vpg, afmt, in dcn301_stream_encoder_create()
1065 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn301_destruct()
1066 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn301_destruct()
1067 pool->base.stream_enc[i]->vpg = NULL; in dcn301_destruct()

Completed in 67 milliseconds

12