Lines Matching refs:vpg
884 .vpg = true,
1171 static struct vpg *dcn31_vpg_create( in dcn31_vpg_create()
1231 struct vpg *vpg; in dcn316_stream_encoder_create() local
1244 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn316_stream_encoder_create()
1247 if (!enc1 || !vpg || !afmt) { in dcn316_stream_encoder_create()
1249 kfree(vpg); in dcn316_stream_encoder_create()
1255 eng_id, vpg, afmt, in dcn316_stream_encoder_create()
1268 struct vpg *vpg; in dcn31_hpo_dp_stream_encoder_create() local
1295 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn31_hpo_dp_stream_encoder_create()
1298 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
1300 kfree(vpg); in dcn31_hpo_dp_stream_encoder_create()
1306 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create()
1374 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn316_resource_destruct()
1375 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn316_resource_destruct()
1376 pool->base.stream_enc[i]->vpg = NULL; in dcn316_resource_destruct()
1389 if (pool->base.hpo_dp_stream_enc[i]->vpg != NULL) { in dcn316_resource_destruct()
1390 kfree(DCN30_VPG_FROM_VPG(pool->base.hpo_dp_stream_enc[i]->vpg)); in dcn316_resource_destruct()
1391 pool->base.hpo_dp_stream_enc[i]->vpg = NULL; in dcn316_resource_destruct()