Lines Matching refs:vpg
886 .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()
1302 kfree(vpg); in dcn31_hpo_dp_stream_encoder_create()
1308 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create()
1375 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn31_resource_destruct()
1376 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn31_resource_destruct()
1377 pool->base.stream_enc[i]->vpg = NULL; in dcn31_resource_destruct()
1390 if (pool->base.hpo_dp_stream_enc[i]->vpg != NULL) { in dcn31_resource_destruct()
1391 kfree(DCN30_VPG_FROM_VPG(pool->base.hpo_dp_stream_enc[i]->vpg)); in dcn31_resource_destruct()
1392 pool->base.hpo_dp_stream_enc[i]->vpg = NULL; in dcn31_resource_destruct()