Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn31/
H 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()
H 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);
H 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()
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()
[all …]
H A Ddcn31_resource.c886 .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
1285 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn31_hpo_dp_stream_encoder_create()
1288 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
[all …]
H 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()
H A Ddcn31_hpo_dp_stream_encoder.h238 struct vpg *vpg,
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn30/
H 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,
H A Ddcn30_dio_stream_encoder.c61 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()
[all …]
H 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()
H A Ddcn30_resource.c975 static struct vpg *dcn30_vpg_create( in dcn30_vpg_create()
1013 struct vpg *vpg; in dcn30_stream_encoder_create() local
1026 vpg = dcn30_vpg_create(ctx, vpg_inst); in dcn30_stream_encoder_create()
1029 if (!enc1 || !vpg || !afmt) { in dcn30_stream_encoder_create()
1031 kfree(vpg); in dcn30_stream_encoder_create()
1037 eng_id, vpg, afmt, in dcn30_stream_encoder_create()
1069 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn30_resource_destruct()
1070 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn30_resource_destruct()
1071 pool->base.stream_enc[i]->vpg = NULL; in dcn30_resource_destruct()
H A Ddcn30_dio_stream_encoder.h282 struct vpg *vpg,
/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Dstream_encoder.h117 struct vpg *vpg; member
292 struct vpg *vpg; member
/openbmc/linux/drivers/gpu/drm/bridge/synopsys/
H A Ddw-mipi-dsi.c259 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 = data; in dw_mipi_dsi_debugfs_show() local
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn316/
H A Ddcn316_resource.c883 .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
1282 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn31_hpo_dp_stream_encoder_create()
1285 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn314/
H 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()
H A Ddcn314_resource.c905 .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
1358 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn31_hpo_dp_stream_encoder_create()
1361 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn32/
H A Ddcn32_dio_stream_encoder.c510 struct vpg *vpg, in dcn32_dio_stream_encoder_construct() argument
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()
H A Ddcn32_resource.c1113 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 = dcn32_vpg_create(ctx, vpg_inst); in dcn32_hpo_dp_stream_encoder_create()
1272 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn32_hpo_dp_stream_encoder_create()
1274 kfree(vpg); in dcn32_hpo_dp_stream_encoder_create()
[all …]
H A Ddcn32_dio_stream_encoder.h191 struct vpg *vpg,
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn315/
H A Ddcn315_resource.c886 .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
1285 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn31_hpo_dp_stream_encoder_create()
1288 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn321/
H A Ddcn321_resource.c1099 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 = dcn321_vpg_create(ctx, vpg_inst); in dcn321_hpo_dp_stream_encoder_create()
1258 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn321_hpo_dp_stream_encoder_create()
1260 kfree(vpg); in dcn321_hpo_dp_stream_encoder_create()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_dpms.c2291 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 *vpg = pipe_ctx->stream_res.stream_enc->vpg; in link_set_dpms_on() local
2404 vpg = pipe_ctx->stream_res.hpo_dp_stream_enc->vpg; in link_set_dpms_on()
2446 if (vpg && vpg->funcs->vpg_poweron) in link_set_dpms_on()
2447 vpg->funcs->vpg_poweron(vpg); in link_set_dpms_on()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn302/
H A Ddcn302_resource.c294 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[en… 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 = NULL; in dcn302_resource_destruct()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn303/
H A Ddcn303_resource.c269 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[en… 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 = NULL; in dcn303_resource_destruct()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn301/
H A Ddcn301_resource.c945 static struct vpg *dcn301_vpg_create( in dcn301_vpg_create()
983 struct vpg *vpg; in dcn301_stream_encoder_create() local
996 vpg = dcn301_vpg_create(ctx, vpg_inst); in dcn301_stream_encoder_create()
999 if (!enc1 || !vpg || !afmt || eng_id >= ARRAY_SIZE(stream_enc_regs)) { in dcn301_stream_encoder_create()
1001 kfree(vpg); in dcn301_stream_encoder_create()
1007 eng_id, vpg, afmt, in dcn301_stream_encoder_create()
1039 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn301_destruct()
1040 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn301_destruct()
1041 pool->base.stream_enc[i]->vpg = NULL; in dcn301_destruct()

12