Home
last modified time | relevance | path

Searched refs:apg (Results 1 – 14 of 14) 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/resource/dcn316/
H A Ddcn316_resource.c1194 static struct apg *dcn31_apg_create( in dcn31_apg_create()
1255 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local
1282 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create()
1284 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
1287 kfree(apg); in dcn31_hpo_dp_stream_encoder_create()
1292 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create()
1365 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn316_resource_destruct()
1366 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn316_resource_destruct()
1367 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn316_resource_destruct()
/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/dcn314/
H A Ddcn314_resource.c1257 static struct apg *dcn31_apg_create( in dcn31_apg_create()
1316 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local
1344 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create()
1346 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
1349 kfree(apg); in dcn31_hpo_dp_stream_encoder_create()
1354 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create()
1426 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn314_resource_destruct()
1427 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn314_resource_destruct()
1428 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn314_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn31/
H A Ddcn31_resource.c1201 static struct apg *dcn31_apg_create( in dcn31_apg_create()
1260 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local
1287 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create()
1289 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
1292 kfree(apg); in dcn31_hpo_dp_stream_encoder_create()
1297 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create()
1369 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn31_resource_destruct()
1370 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn31_resource_destruct()
1371 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.c1157 static struct apg *dcn321_apg_create( in dcn321_apg_create()
1231 struct apg *apg; in dcn321_hpo_dp_stream_encoder_create() local
1258 apg = dcn321_apg_create(ctx, apg_inst); in dcn321_hpo_dp_stream_encoder_create()
1260 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn321_hpo_dp_stream_encoder_create()
1263 kfree(apg); in dcn321_hpo_dp_stream_encoder_create()
1275 hpo_dp_inst, eng_id, vpg, apg, in dcn321_hpo_dp_stream_encoder_create()
1356 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn321_resource_destruct()
1357 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn321_resource_destruct()
1358 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.c1239 static struct apg *dcn31_apg_create( in dcn31_apg_create()
1313 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local
1340 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create()
1342 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
1345 kfree(apg); in dcn31_hpo_dp_stream_encoder_create()
1357 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create()
1438 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn35_resource_destruct()
1439 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn35_resource_destruct()
1440 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn35_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn351/
H A Ddcn351_resource.c1219 static struct apg *dcn31_apg_create( in dcn31_apg_create()
1293 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local
1320 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create()
1322 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
1325 kfree(apg); in dcn31_hpo_dp_stream_encoder_create()
1337 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create()
1418 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn351_resource_destruct()
1419 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn351_resource_destruct()
1420 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn351_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn315/
H A Ddcn315_resource.c1199 static struct apg *dcn31_apg_create( in dcn31_apg_create()
1260 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local
1287 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create()
1289 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
1292 kfree(apg); in dcn31_hpo_dp_stream_encoder_create()
1297 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create()
1369 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn315_resource_destruct()
1370 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn315_resource_destruct()
1371 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn315_resource_destruct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn401/
H A Ddcn401_resource.c1152 static struct apg *dcn401_apg_create( in dcn401_apg_create()
1224 struct apg *apg; in dcn401_hpo_dp_stream_encoder_create() local
1251 apg = dcn401_apg_create(ctx, apg_inst); in dcn401_hpo_dp_stream_encoder_create()
1253 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn401_hpo_dp_stream_encoder_create()
1256 kfree(apg); in dcn401_hpo_dp_stream_encoder_create()
1268 hpo_dp_inst, eng_id, vpg, apg, in dcn401_hpo_dp_stream_encoder_create()
1381 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn401_resource_destruct()
1382 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn401_resource_destruct()
1383 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.c1174 static struct apg *dcn31_apg_create( in dcn31_apg_create()
1248 struct apg *apg; in dcn32_hpo_dp_stream_encoder_create() local
1275 apg = dcn31_apg_create(ctx, apg_inst); in dcn32_hpo_dp_stream_encoder_create()
1277 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn32_hpo_dp_stream_encoder_create()
1280 kfree(apg); in dcn32_hpo_dp_stream_encoder_create()
1292 hpo_dp_inst, eng_id, vpg, apg, in dcn32_hpo_dp_stream_encoder_create()
1373 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn32_resource_destruct()
1374 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn32_resource_destruct()
1375 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn32_resource_destruct()