Home
last modified time | relevance | path

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

12

/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()
70 if (vpg->ctx->dc->debug.enable_mem_low_power.bits.vpg == false && in vpg31_poweron()
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);
/drivers/gpu/drm/amd/display/dc/inc/hw/
A Dvpg.h31 struct vpg;
35 struct vpg *vpg,
41 struct vpg *vpg);
44 struct vpg *vpg);
47 struct vpg { struct
A Dstream_encoder.h118 struct vpg *vpg; member
297 struct vpg *vpg; member
/drivers/gpu/drm/amd/display/dc/dio/dcn30/
A Ddcn30_dio_stream_encoder.c59 enc1->base.vpg, in enc3_update_hdmi_info_packet()
350 enc1->base.vpg, in enc3_dp_set_dsc_pps_info_packet()
431 enc->vpg, in enc3_stream_encoder_update_dp_info_packets()
446 enc->vpg, in enc3_stream_encoder_update_dp_info_packets()
461 enc->vpg, in enc3_stream_encoder_update_dp_info_packets()
468 enc->vpg, in enc3_stream_encoder_update_dp_info_packets()
475 enc->vpg, in enc3_stream_encoder_update_dp_info_packets()
486 enc->vpg, in enc3_stream_encoder_update_dp_info_packets()
882 struct vpg *vpg, in dcn30_dio_stream_encoder_construct() argument
892 enc1->base.vpg = vpg; in dcn30_dio_stream_encoder_construct()
[all …]
/drivers/gpu/drm/amd/display/dc/hpo/dcn31/
A Ddcn31_hpo_dp_stream_encoder.c458 enc->vpg->funcs->update_generic_info_packet( in dcn31_hpo_dp_stream_enc_update_dp_info_packets()
459 enc->vpg, in dcn31_hpo_dp_stream_enc_update_dp_info_packets()
465 enc->vpg->funcs->update_generic_info_packet( in dcn31_hpo_dp_stream_enc_update_dp_info_packets()
466 enc->vpg, in dcn31_hpo_dp_stream_enc_update_dp_info_packets()
472 enc->vpg->funcs->update_generic_info_packet( in dcn31_hpo_dp_stream_enc_update_dp_info_packets()
473 enc->vpg, in dcn31_hpo_dp_stream_enc_update_dp_info_packets()
483 enc->vpg->funcs->update_generic_info_packet( in dcn31_hpo_dp_stream_enc_update_dp_info_packets()
484 enc->vpg, in dcn31_hpo_dp_stream_enc_update_dp_info_packets()
574 enc3->base.vpg, in dcn31_hpo_dp_stream_enc_set_dsc_pps_info_packet()
764 struct vpg *vpg, in dcn31_hpo_dp_stream_encoder_construct() argument
[all …]
/drivers/gpu/drm/amd/display/dc/dcn30/
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,
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()
/drivers/gpu/drm/amd/display/dc/resource/dcn316/
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
1284 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
1286 kfree(vpg); in dcn31_hpo_dp_stream_encoder_create()
[all …]
/drivers/gpu/drm/bridge/synopsys/
A Ddw-mipi-dsi.c263 bool vpg; member
617 if (dsi->vpg_defs.vpg) { in dw_mipi_dsi_video_mode_config()
1107 struct debugfs_entries *vpg = data; in dw_mipi_dsi_debugfs_write() local
1111 if (!vpg) in dw_mipi_dsi_debugfs_write()
1114 dsi = vpg->dsi; in dw_mipi_dsi_debugfs_write()
1116 *vpg->reg = (bool)val; in dw_mipi_dsi_debugfs_write()
1120 if (*vpg->reg) in dw_mipi_dsi_debugfs_write()
1121 mode_cfg |= vpg->mask; in dw_mipi_dsi_debugfs_write()
1123 mode_cfg &= ~vpg->mask; in dw_mipi_dsi_debugfs_write()
1134 if (!vpg) in dw_mipi_dsi_debugfs_show()
[all …]
/drivers/gpu/drm/amd/display/dc/dio/dcn314/
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()
/drivers/gpu/drm/amd/display/dc/dio/dcn35/
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()
/drivers/gpu/drm/amd/display/dc/dio/dcn32/
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()
/drivers/gpu/drm/amd/display/dc/resource/dcn314/
A Ddcn314_resource.c906 .vpg = true,
1222 static struct vpg *dcn31_vpg_create( in dcn31_vpg_create()
1280 struct vpg *vpg; in dcn314_stream_encoder_create() local
1293 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn314_stream_encoder_create()
1296 if (!enc1 || !vpg || !afmt) { in dcn314_stream_encoder_create()
1298 kfree(vpg); in dcn314_stream_encoder_create()
1304 eng_id, vpg, afmt, in dcn314_stream_encoder_create()
1316 struct vpg *vpg; in dcn31_hpo_dp_stream_encoder_create() local
1347 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
1349 kfree(vpg); in dcn31_hpo_dp_stream_encoder_create()
[all …]
/drivers/gpu/drm/amd/display/dc/resource/dcn31/
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
1289 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
1291 kfree(vpg); in dcn31_hpo_dp_stream_encoder_create()
[all …]
/drivers/gpu/drm/amd/display/dc/resource/dcn35/
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
1342 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
1344 kfree(vpg); in dcn31_hpo_dp_stream_encoder_create()
[all …]
/drivers/gpu/drm/amd/display/dc/resource/dcn315/
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
1289 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
1291 kfree(vpg); in dcn31_hpo_dp_stream_encoder_create()
[all …]
/drivers/gpu/drm/amd/display/dc/resource/dcn351/
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
1322 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
1324 kfree(vpg); in dcn31_hpo_dp_stream_encoder_create()
[all …]
/drivers/gpu/drm/amd/display/dc/resource/dcn36/
A Ddcn36_resource.c727 .vpg = true,
1162 static struct vpg *dcn31_vpg_create( in dcn31_vpg_create()
1249 struct vpg *vpg; in dcn35_stream_encoder_create() local
1262 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn35_stream_encoder_create()
1265 if (!enc1 || !vpg || !afmt) { in dcn35_stream_encoder_create()
1267 kfree(vpg); in dcn35_stream_encoder_create()
1281 eng_id, vpg, afmt, in dcn35_stream_encoder_create()
1293 struct vpg *vpg; in dcn31_hpo_dp_stream_encoder_create() local
1323 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
1325 kfree(vpg); in dcn31_hpo_dp_stream_encoder_create()
[all …]
/drivers/gpu/drm/amd/display/dc/resource/dcn321/
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 …]
/drivers/gpu/drm/amd/display/dc/resource/dcn401/
A Ddcn401_resource.c1093 static struct vpg *dcn401_vpg_create( in dcn401_vpg_create()
1177 struct vpg *vpg; in dcn401_stream_encoder_create() local
1190 vpg = dcn401_vpg_create(ctx, vpg_inst); in dcn401_stream_encoder_create()
1195 kfree(vpg); in dcn401_stream_encoder_create()
1208 eng_id, vpg, afmt, in dcn401_stream_encoder_create()
1219 struct vpg *vpg; in dcn401_hpo_dp_stream_encoder_create() local
1246 vpg = dcn401_vpg_create(ctx, vpg_inst); in dcn401_hpo_dp_stream_encoder_create()
1249 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn401_hpo_dp_stream_encoder_create()
1251 kfree(vpg); in dcn401_hpo_dp_stream_encoder_create()
1264 hpo_dp_inst, eng_id, vpg, apg, in dcn401_hpo_dp_stream_encoder_create()
[all …]
/drivers/gpu/drm/amd/display/dc/link/
A Dlink_dpms.c2346 struct vpg *vpg = pipe_ctx->stream_res.stream_enc->vpg; in link_set_dpms_off() local
2354 vpg = pipe_ctx->stream_res.hpo_dp_stream_enc->vpg; in link_set_dpms_off()
2438 if (vpg && vpg->funcs->vpg_powerdown) in link_set_dpms_off()
2439 vpg->funcs->vpg_powerdown(vpg); in link_set_dpms_off()
2460 struct vpg *vpg = pipe_ctx->stream_res.stream_enc->vpg; in link_set_dpms_on() local
2470 vpg = pipe_ctx->stream_res.hpo_dp_stream_enc->vpg; in link_set_dpms_on()
2510 if (vpg && vpg->funcs->vpg_poweron) in link_set_dpms_on()
2511 vpg->funcs->vpg_poweron(vpg); in link_set_dpms_on()
/drivers/gpu/drm/amd/display/dc/hwss/dcn31/
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()
/drivers/gpu/drm/amd/display/dc/dio/dcn401/
A Ddcn401_dio_stream_encoder.c777 struct vpg *vpg, in dcn401_dio_stream_encoder_construct() argument
787 enc1->base.vpg = vpg; in dcn401_dio_stream_encoder_construct()
792 enc1->base.stream_enc_inst = vpg->inst; in dcn401_dio_stream_encoder_construct()
/drivers/gpu/drm/amd/display/dc/resource/dcn32/
A Ddcn32_resource.c1119 static struct vpg *dcn32_vpg_create( in dcn32_vpg_create()
1204 struct vpg *vpg; in dcn32_stream_encoder_create() local
1217 vpg = dcn32_vpg_create(ctx, vpg_inst); in dcn32_stream_encoder_create()
1220 if (!enc1 || !vpg || !afmt) { in dcn32_stream_encoder_create()
1222 kfree(vpg); in dcn32_stream_encoder_create()
1236 eng_id, vpg, afmt, in dcn32_stream_encoder_create()
1248 struct vpg *vpg; in dcn32_hpo_dp_stream_encoder_create() local
1275 vpg = dcn32_vpg_create(ctx, vpg_inst); in dcn32_hpo_dp_stream_encoder_create()
1278 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn32_hpo_dp_stream_encoder_create()
1280 kfree(vpg); in dcn32_hpo_dp_stream_encoder_create()
[all …]

Completed in 108 milliseconds

12