Lines Matching refs:vpg
1124 static struct vpg *dcn32_vpg_create( in dcn32_vpg_create()
1209 struct vpg *vpg; in dcn32_stream_encoder_create() local
1222 vpg = dcn32_vpg_create(ctx, vpg_inst); in dcn32_stream_encoder_create()
1225 if (!enc1 || !vpg || !afmt) { in dcn32_stream_encoder_create()
1227 kfree(vpg); in dcn32_stream_encoder_create()
1241 eng_id, vpg, afmt, in dcn32_stream_encoder_create()
1253 struct vpg *vpg; in dcn32_hpo_dp_stream_encoder_create() local
1280 vpg = dcn32_vpg_create(ctx, vpg_inst); in dcn32_hpo_dp_stream_encoder_create()
1283 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn32_hpo_dp_stream_encoder_create()
1285 kfree(vpg); in dcn32_hpo_dp_stream_encoder_create()
1298 hpo_dp_inst, eng_id, vpg, apg, in dcn32_hpo_dp_stream_encoder_create()
1367 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn32_resource_destruct()
1368 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn32_resource_destruct()
1369 pool->base.stream_enc[i]->vpg = NULL; in dcn32_resource_destruct()
1382 if (pool->base.hpo_dp_stream_enc[i]->vpg != NULL) { in dcn32_resource_destruct()
1383 kfree(DCN30_VPG_FROM_VPG(pool->base.hpo_dp_stream_enc[i]->vpg)); in dcn32_resource_destruct()
1384 pool->base.hpo_dp_stream_enc[i]->vpg = NULL; in dcn32_resource_destruct()