Lines Matching refs:vpg
884 .vpg = true,
1172 static struct vpg *dcn31_vpg_create( in dcn31_vpg_create()
1230 struct vpg *vpg; in dcn315_stream_encoder_create() local
1245 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn315_stream_encoder_create()
1248 if (!enc1 || !vpg || !afmt) { in dcn315_stream_encoder_create()
1250 kfree(vpg); in dcn315_stream_encoder_create()
1256 eng_id, vpg, afmt, in dcn315_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()
1373 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn315_resource_destruct()
1374 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn315_resource_destruct()
1375 pool->base.stream_enc[i]->vpg = NULL; in dcn315_resource_destruct()
1388 if (pool->base.hpo_dp_stream_enc[i]->vpg != NULL) { in dcn315_resource_destruct()
1389 kfree(DCN30_VPG_FROM_VPG(pool->base.hpo_dp_stream_enc[i]->vpg)); in dcn315_resource_destruct()
1390 pool->base.hpo_dp_stream_enc[i]->vpg = NULL; in dcn315_resource_destruct()