Home
last modified time | relevance | path

Searched refs:apg (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/dcn31/
H A Ddcn31_apg.h30 #define DCN31_APG_FROM_APG(apg)\ argument
31 container_of(apg, struct dcn31_apg, base)
71 struct apg { struct
80 struct apg *apg); argument
83 struct apg *apg,
88 struct apg *apg);
91 struct apg *apg);
97 struct apg base;
H A Ddcn31_apg.c48 struct apg *apg) in apg31_enable() argument
50 struct dcn31_apg *apg31 = DCN31_APG_FROM_APG(apg); in apg31_enable()
67 struct apg *apg) in apg31_disable() argument
69 struct dcn31_apg *apg31 = DCN31_APG_FROM_APG(apg); in apg31_disable()
76 struct apg *apg, in apg31_se_audio_setup() argument
80 struct dcn31_apg *apg31 = DCN31_APG_FROM_APG(apg); in apg31_se_audio_setup()
/linux/drivers/gpu/drm/amd/display/dc/hpo/dcn31/
H A Ddcn31_hpo_dp_stream_encoder.c642 ASSERT(enc->apg); in dcn31_hpo_dp_stream_enc_audio_setup()
643 enc->apg->funcs->se_audio_setup(enc->apg, az_inst, info); in dcn31_hpo_dp_stream_enc_audio_setup()
664 enc->apg->funcs->enable_apg(enc->apg); in dcn31_hpo_dp_stream_enc_audio_enable()
685 enc->apg->funcs->disable_apg(enc->apg); in dcn31_hpo_dp_stream_enc_audio_disable()
764 struct apg *apg, in dcn31_hpo_dp_stream_encoder_construct() argument
775 enc3->base.apg = apg; in dcn31_hpo_dp_stream_encoder_construct()
H A Ddcn31_hpo_dp_stream_encoder.h239 struct apg *apg,
/linux/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Dstream_encoder.h297 struct apg *apg; member
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn316/
H A Ddcn316_resource.c1195 static struct apg *dcn31_apg_create( in dcn31_apg_create()
1256 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local
1283 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create()
1285 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
1288 kfree(apg); in dcn31_hpo_dp_stream_encoder_create()
1293 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create()
1366 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn316_resource_destruct()
1367 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn316_resource_destruct()
1368 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn316_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn314/
H A Ddcn314_resource.c1258 static struct apg *dcn31_apg_create( in dcn31_apg_create()
1317 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local
1345 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create()
1347 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
1350 kfree(apg); in dcn31_hpo_dp_stream_encoder_create()
1355 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create()
1427 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn314_resource_destruct()
1428 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn314_resource_destruct()
1429 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn314_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn315/
H A Ddcn315_resource.c1200 static struct apg *dcn31_apg_create( in dcn31_apg_create()
1261 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local
1288 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create()
1290 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
1293 kfree(apg); in dcn31_hpo_dp_stream_encoder_create()
1298 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create()
1370 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn315_resource_destruct()
1371 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn315_resource_destruct()
1372 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn315_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn31/
H A Ddcn31_resource.c1202 static struct apg *dcn31_apg_create( in dcn31_apg_create()
1261 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local
1288 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create()
1290 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
1293 kfree(apg); in dcn31_hpo_dp_stream_encoder_create()
1298 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create()
1370 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn31_resource_destruct()
1371 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn31_resource_destruct()
1372 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn31_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn321/
H A Ddcn321_resource.c1158 static struct apg *dcn321_apg_create( in dcn321_apg_create()
1232 struct apg *apg; in dcn321_hpo_dp_stream_encoder_create() local
1259 apg = dcn321_apg_create(ctx, apg_inst); in dcn321_hpo_dp_stream_encoder_create()
1261 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn321_hpo_dp_stream_encoder_create()
1264 kfree(apg); in dcn321_hpo_dp_stream_encoder_create()
1276 hpo_dp_inst, eng_id, vpg, apg, in dcn321_hpo_dp_stream_encoder_create()
1357 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn321_resource_destruct()
1358 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn321_resource_destruct()
1359 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn321_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn35/
H A Ddcn35_resource.c1240 static struct apg *dcn31_apg_create( in dcn31_apg_create()
1314 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local
1341 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create()
1343 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
1346 kfree(apg); in dcn31_hpo_dp_stream_encoder_create()
1358 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create()
1439 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn35_resource_destruct()
1440 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn35_resource_destruct()
1441 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn35_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn401/
H A Ddcn401_resource.c1149 static struct apg *dcn401_apg_create( in dcn401_apg_create()
1221 struct apg *apg; in dcn401_hpo_dp_stream_encoder_create() local
1248 apg = dcn401_apg_create(ctx, apg_inst); in dcn401_hpo_dp_stream_encoder_create()
1250 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn401_hpo_dp_stream_encoder_create()
1253 kfree(apg); in dcn401_hpo_dp_stream_encoder_create()
1265 hpo_dp_inst, eng_id, vpg, apg, in dcn401_hpo_dp_stream_encoder_create()
1355 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn401_resource_destruct()
1356 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn401_resource_destruct()
1357 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn401_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/
H A Ddcn32_resource.c1175 static struct apg *dcn31_apg_create( in dcn31_apg_create()
1249 struct apg *apg; in dcn32_hpo_dp_stream_encoder_create() local
1276 apg = dcn31_apg_create(ctx, apg_inst); in dcn32_hpo_dp_stream_encoder_create()
1278 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn32_hpo_dp_stream_encoder_create()
1281 kfree(apg); in dcn32_hpo_dp_stream_encoder_create()
1293 hpo_dp_inst, eng_id, vpg, apg, in dcn32_hpo_dp_stream_encoder_create()
1374 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn32_resource_destruct()
1375 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn32_resource_destruct()
1376 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn32_resource_destruct()