Lines Matching refs:vpg
914 .vpg = true,
1202 static struct vpg *dcn31_vpg_create( in dcn31_vpg_create()
1260 struct vpg *vpg; in dcn314_stream_encoder_create() local
1273 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn314_stream_encoder_create()
1276 if (!enc1 || !vpg || !afmt) { in dcn314_stream_encoder_create()
1278 kfree(vpg); in dcn314_stream_encoder_create()
1284 eng_id, vpg, afmt, in dcn314_stream_encoder_create()
1296 struct vpg *vpg; in dcn31_hpo_dp_stream_encoder_create() local
1324 vpg = dcn31_vpg_create(ctx, vpg_inst); in dcn31_hpo_dp_stream_encoder_create()
1327 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
1329 kfree(vpg); in dcn31_hpo_dp_stream_encoder_create()
1335 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create()
1402 if (pool->base.stream_enc[i]->vpg != NULL) { in dcn314_resource_destruct()
1403 kfree(DCN30_VPG_FROM_VPG(pool->base.stream_enc[i]->vpg)); in dcn314_resource_destruct()
1404 pool->base.stream_enc[i]->vpg = NULL; in dcn314_resource_destruct()
1417 if (pool->base.hpo_dp_stream_enc[i]->vpg != NULL) { in dcn314_resource_destruct()
1418 kfree(DCN30_VPG_FROM_VPG(pool->base.hpo_dp_stream_enc[i]->vpg)); in dcn314_resource_destruct()
1419 pool->base.hpo_dp_stream_enc[i]->vpg = NULL; in dcn314_resource_destruct()