Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Dvpg.h31 struct vpg;
35 struct vpg *vpg,
41 struct vpg *vpg);
44 struct vpg *vpg);
47 struct vpg { struct
H A Dstream_encoder.h118 struct vpg *vpg; member
296 struct vpg *vpg; member
/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()
70 if (vpg->ctx->dc->debug.enable_mem_low_power.bits.vpg == false && in vpg31_poweron()
H A Ddcn31_vpg.h31 #define DCN31_VPG_FROM_VPG(vpg)\ argument
32 container_of(vpg, struct dcn31_vpg, base)
144 struct vpg base;
151 struct vpg *vpg);
154 struct vpg *vpg);
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn30/
H A Ddcn30_dio_stream_encoder.c58 enc1->base.vpg->funcs->update_generic_info_packet( in enc3_update_hdmi_info_packet()
59 enc1->base.vpg, in enc3_update_hdmi_info_packet()
349 enc1->base.vpg->funcs->update_generic_info_packet( in enc3_dp_set_dsc_pps_info_packet()
350 enc1->base.vpg, in enc3_dp_set_dsc_pps_info_packet()
430 enc->vpg->funcs->update_generic_info_packet( in enc3_stream_encoder_update_dp_info_packets()
431 enc->vpg, in enc3_stream_encoder_update_dp_info_packets()
445 enc->vpg->funcs->update_generic_info_packet( in enc3_stream_encoder_update_dp_info_packets()
446 enc->vpg, in enc3_stream_encoder_update_dp_info_packets()
460 enc->vpg->funcs->update_generic_info_packet( in enc3_stream_encoder_update_dp_info_packets()
461 enc->vpg, in enc3_stream_encoder_update_dp_info_packets()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hpo/dcn31/
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()
482 enc->vpg->funcs->update_generic_info_packet( in dcn31_hpo_dp_stream_enc_update_dp_info_packets()
483 enc->vpg, in dcn31_hpo_dp_stream_enc_update_dp_info_packets()
572 enc3->base.vpg->funcs->update_generic_info_packet( in dcn31_hpo_dp_stream_enc_set_dsc_pps_info_packet()
573 enc3->base.vpg, in dcn31_hpo_dp_stream_enc_set_dsc_pps_info_packet()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_vpg.h31 #define DCN30_VPG_FROM_VPG(vpg)\ argument
32 container_of(vpg, struct dcn30_vpg, base)
137 struct vpg base;
144 struct vpg *vpg,
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()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn316/
H A Ddcn316_resource.c881 .vpg = true,
1157 static struct vpg *dcn31_vpg_create( in dcn31_vpg_create()
1217 struct vpg *vpg; in dcn316_stream_encoder_create() local
1230 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn316_stream_encoder_create()
1233 if (!enc1 || !vpg || !afmt) { in dcn316_stream_encoder_create()
1235 kfree(vpg); in dcn316_stream_encoder_create()
1241 eng_id, vpg, afmt, in dcn316_stream_encoder_create()
1254 struct vpg *vpg; in dcn31_hpo_dp_stream_encoder_create() local
1281 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn31_hpo_dp_stream_encoder_create()
1284 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
[all …]
/linux/drivers/gpu/drm/bridge/synopsys/
H A Ddw-mipi-dsi.c262 bool vpg; member
616 if (dsi->vpg_defs.vpg) { in dw_mipi_dsi_video_mode_config()
1105 struct debugfs_entries *vpg = data; in dw_mipi_dsi_debugfs_write() local
1109 if (!vpg) in dw_mipi_dsi_debugfs_write()
1112 dsi = vpg->dsi; in dw_mipi_dsi_debugfs_write()
1114 *vpg->reg = (bool)val; in dw_mipi_dsi_debugfs_write()
1118 if (*vpg->reg) in dw_mipi_dsi_debugfs_write()
1119 mode_cfg |= vpg->mask; in dw_mipi_dsi_debugfs_write()
1121 mode_cfg &= ~vpg->mask; in dw_mipi_dsi_debugfs_write()
1130 struct debugfs_entries *vpg = data; in dw_mipi_dsi_debugfs_show() local
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn32/
H A 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()
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn35/
H A Ddcn35_dio_stream_encoder.c503 struct vpg *vpg, in dcn35_dio_stream_encoder_construct() argument
513 enc1->base.vpg = vpg; in dcn35_dio_stream_encoder_construct()
518 enc1->base.stream_enc_inst = vpg->inst; in dcn35_dio_stream_encoder_construct()
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn314/
H A Ddcn314_dio_stream_encoder.c489 struct vpg *vpg, in dcn314_dio_stream_encoder_construct() argument
499 enc1->base.vpg = vpg; in dcn314_dio_stream_encoder_construct()
504 enc1->base.stream_enc_inst = vpg->inst; in dcn314_dio_stream_encoder_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn314/
H A Ddcn314_resource.c906 .vpg = true,
1221 static struct vpg *dcn31_vpg_create( in dcn31_vpg_create()
1279 struct vpg *vpg; in dcn314_stream_encoder_create() local
1292 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn314_stream_encoder_create()
1295 if (!enc1 || !vpg || !afmt) { in dcn314_stream_encoder_create()
1297 kfree(vpg); in dcn314_stream_encoder_create()
1303 eng_id, vpg, afmt, in dcn314_stream_encoder_create()
1315 struct vpg *vpg; in dcn31_hpo_dp_stream_encoder_create() local
1343 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn31_hpo_dp_stream_encoder_create()
1346 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn31/
H A Ddcn31_resource.c886 .vpg = true,
1165 static struct vpg *dcn31_vpg_create( in dcn31_vpg_create()
1223 struct vpg *vpg; in dcn31_stream_encoder_create() local
1236 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn31_stream_encoder_create()
1239 if (!enc1 || !vpg || !afmt) { in dcn31_stream_encoder_create()
1241 kfree(vpg); in dcn31_stream_encoder_create()
1247 eng_id, vpg, afmt, in dcn31_stream_encoder_create()
1259 struct vpg *vpg; in dcn31_hpo_dp_stream_encoder_create() local
1286 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn31_hpo_dp_stream_encoder_create()
1289 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn35/
H A Ddcn35_resource.c746 .vpg = true,
1181 static struct vpg *dcn31_vpg_create( in dcn31_vpg_create()
1268 struct vpg *vpg; in dcn35_stream_encoder_create() local
1281 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn35_stream_encoder_create()
1284 if (!enc1 || !vpg || !afmt) { in dcn35_stream_encoder_create()
1286 kfree(vpg); in dcn35_stream_encoder_create()
1300 eng_id, vpg, afmt, in dcn35_stream_encoder_create()
1312 struct vpg *vpg; in dcn31_hpo_dp_stream_encoder_create() local
1339 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn31_hpo_dp_stream_encoder_create()
1342 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn351/
H A Ddcn351_resource.c726 .vpg = true,
1161 static struct vpg *dcn31_vpg_create( in dcn31_vpg_create()
1248 struct vpg *vpg; in dcn35_stream_encoder_create() local
1261 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn35_stream_encoder_create()
1264 if (!enc1 || !vpg || !afmt) { in dcn35_stream_encoder_create()
1266 kfree(vpg); in dcn35_stream_encoder_create()
1280 eng_id, vpg, afmt, in dcn35_stream_encoder_create()
1292 struct vpg *vpg; in dcn31_hpo_dp_stream_encoder_create() local
1319 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn31_hpo_dp_stream_encoder_create()
1322 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn315/
H A Ddcn315_resource.c886 .vpg = true,
1163 static struct vpg *dcn31_vpg_create( in dcn31_vpg_create()
1221 struct vpg *vpg; in dcn315_stream_encoder_create() local
1236 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn315_stream_encoder_create()
1239 if (!enc1 || !vpg || !afmt) { in dcn315_stream_encoder_create()
1241 kfree(vpg); in dcn315_stream_encoder_create()
1247 eng_id, vpg, afmt, in dcn315_stream_encoder_create()
1259 struct vpg *vpg; in dcn31_hpo_dp_stream_encoder_create() local
1286 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn31_hpo_dp_stream_encoder_create()
1289 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn321/
H A Ddcn321_resource.c1101 static struct vpg *dcn321_vpg_create( in dcn321_vpg_create()
1186 struct vpg *vpg; in dcn321_stream_encoder_create() local
1199 vpg = dcn321_vpg_create(ctx, vpg_inst); in dcn321_stream_encoder_create()
1202 if (!enc1 || !vpg || !afmt) { in dcn321_stream_encoder_create()
1204 kfree(vpg); in dcn321_stream_encoder_create()
1218 eng_id, vpg, afmt, in dcn321_stream_encoder_create()
1230 struct vpg *vpg; in dcn321_hpo_dp_stream_encoder_create() local
1257 vpg = dcn321_vpg_create(ctx, vpg_inst); in dcn321_hpo_dp_stream_encoder_create()
1260 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn321_hpo_dp_stream_encoder_create()
1262 kfree(vpg); in dcn321_hpo_dp_stream_encoder_create()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn401/
H A Ddcn401_resource.c1097 static struct vpg *dcn401_vpg_create( in dcn401_vpg_create()
1181 struct vpg *vpg; in dcn401_stream_encoder_create() local
1194 vpg = dcn401_vpg_create(ctx, vpg_inst); in dcn401_stream_encoder_create()
1197 if (!enc1 || !vpg || !afmt || eng_id >= ARRAY_SIZE(stream_enc_regs)) { in dcn401_stream_encoder_create()
1199 kfree(vpg); in dcn401_stream_encoder_create()
1212 eng_id, vpg, afmt, in dcn401_stream_encoder_create()
1223 struct vpg *vpg; in dcn401_hpo_dp_stream_encoder_create() local
1250 vpg = dcn401_vpg_create(ctx, vpg_inst); in dcn401_hpo_dp_stream_encoder_create()
1253 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn401_hpo_dp_stream_encoder_create()
1255 kfree(vpg); in dcn401_hpo_dp_stream_encoder_create()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn31/
H A Ddcn31_hwseq.c98 …if (dc->debug.enable_mem_low_power.bits.vpg && dc->res_pool->stream_enc[0]->vpg->funcs->vpg_powerd… in enable_memory_low_power()
101 if (dc->res_pool->stream_enc[i]->vpg) in enable_memory_low_power()
102 dc->res_pool->stream_enc[i]->vpg->funcs->vpg_powerdown(dc->res_pool->stream_enc[i]->vpg); in enable_memory_low_power()
104 …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()
/linux/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_dpms.c2352 struct vpg *vpg = pipe_ctx->stream_res.stream_enc->vpg; in link_set_dpms_off() local
2360 vpg = pipe_ctx->stream_res.hpo_dp_stream_enc->vpg; in link_set_dpms_off()
2444 if (vpg && vpg->funcs->vpg_powerdown) in link_set_dpms_off()
2445 vpg->funcs->vpg_powerdown(vpg); in link_set_dpms_off()
2466 struct vpg *vpg = pipe_ctx->stream_res.stream_enc->vpg; in link_set_dpms_on() local
2476 vpg = pipe_ctx->stream_res.hpo_dp_stream_enc->vpg; in link_set_dpms_on()
2515 if (vpg && vpg->funcs->vpg_poweron) in link_set_dpms_on()
2516 vpg->funcs->vpg_poweron(vpg); in link_set_dpms_on()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/
H A Ddcn32_resource.c1118 static struct vpg *dcn32_vpg_create( in dcn32_vpg_create()
1203 struct vpg *vpg; in dcn32_stream_encoder_create() local
1216 vpg = dcn32_vpg_create(ctx, vpg_inst); in dcn32_stream_encoder_create()
1219 if (!enc1 || !vpg || !afmt) { in dcn32_stream_encoder_create()
1221 kfree(vpg); in dcn32_stream_encoder_create()
1235 eng_id, vpg, afmt, in dcn32_stream_encoder_create()
1247 struct vpg *vpg; in dcn32_hpo_dp_stream_encoder_create() local
1274 vpg = dcn32_vpg_create(ctx, vpg_inst); in dcn32_hpo_dp_stream_encoder_create()
1277 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn32_hpo_dp_stream_encoder_create()
1279 kfree(vpg); in dcn32_hpo_dp_stream_encoder_create()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn302/
H A Ddcn302_resource.c296 static struct vpg *dcn302_vpg_create(struct dc_context *ctx, uint32_t inst) in dcn302_vpg_create()
393 struct vpg *vpg; in dcn302_stream_encoder_create() local
406 vpg = dcn302_vpg_create(ctx, vpg_inst); in dcn302_stream_encoder_create()
409 if (!enc1 || !vpg || !afmt) { in dcn302_stream_encoder_create()
411 kfree(vpg); in dcn302_stream_encoder_create()
416 …dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, eng_id, vpg, afmt, &stream_enc_regs[en… in dcn302_stream_encoder_create()
993 if (pool->stream_enc[i]->vpg != NULL) { in dcn302_resource_destruct()
994 kfree(DCN30_VPG_FROM_VPG(pool->stream_enc[i]->vpg)); in dcn302_resource_destruct()
995 pool->stream_enc[i]->vpg = NULL; in dcn302_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn303/
H A Ddcn303_resource.c290 static struct vpg *dcn303_vpg_create(struct dc_context *ctx, uint32_t inst) in dcn303_vpg_create()
381 struct vpg *vpg; in dcn303_stream_encoder_create() local
394 vpg = dcn303_vpg_create(ctx, vpg_inst); in dcn303_stream_encoder_create()
397 if (!enc1 || !vpg || !afmt) { in dcn303_stream_encoder_create()
399 kfree(vpg); in dcn303_stream_encoder_create()
404 …dcn30_dio_stream_encoder_construct(enc1, ctx, ctx->dc_bios, eng_id, vpg, afmt, &stream_enc_regs[en… in dcn303_stream_encoder_create()
938 if (pool->stream_enc[i]->vpg != NULL) { in dcn303_resource_destruct()
939 kfree(DCN30_VPG_FROM_VPG(pool->stream_enc[i]->vpg)); in dcn303_resource_destruct()
940 pool->stream_enc[i]->vpg = NULL; in dcn303_resource_destruct()

12