Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn31/
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;
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()
Ddcn31_hpo_dp_stream_encoder.c638 ASSERT(enc->apg); in dcn31_hpo_dp_stream_enc_audio_setup()
639 enc->apg->funcs->se_audio_setup(enc->apg, az_inst, info); in dcn31_hpo_dp_stream_enc_audio_setup()
660 enc->apg->funcs->enable_apg(enc->apg); in dcn31_hpo_dp_stream_enc_audio_enable()
681 enc->apg->funcs->disable_apg(enc->apg); in dcn31_hpo_dp_stream_enc_audio_disable()
760 struct apg *apg, in dcn31_hpo_dp_stream_encoder_construct() argument
771 enc3->base.apg = apg; in dcn31_hpo_dp_stream_encoder_construct()
Ddcn31_hpo_dp_stream_encoder.h239 struct apg *apg,
Ddcn31_resource.c1200 static struct apg *dcn31_apg_create( in dcn31_apg_create()
1259 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local
1286 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create()
1288 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
1291 kfree(apg); in dcn31_hpo_dp_stream_encoder_create()
1296 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 dcn31_resource_destruct()
1367 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn31_resource_destruct()
1368 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn31_resource_destruct()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/inc/hw/
Dstream_encoder.h293 struct apg *apg; member
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn316/
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()
1364 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn316_resource_destruct()
1365 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn316_resource_destruct()
1366 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn316_resource_destruct()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn314/
Ddcn314_resource.c1272 static struct apg *dcn31_apg_create( in dcn31_apg_create()
1331 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local
1359 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create()
1361 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
1364 kfree(apg); in dcn31_hpo_dp_stream_encoder_create()
1369 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 dcn314_resource_destruct()
1440 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn314_resource_destruct()
1441 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn314_resource_destruct()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn315/
Ddcn315_resource.c1198 static struct apg *dcn31_apg_create( in dcn31_apg_create()
1259 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local
1286 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create()
1288 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create()
1291 kfree(apg); in dcn31_hpo_dp_stream_encoder_create()
1296 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 dcn315_resource_destruct()
1367 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn315_resource_destruct()
1368 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn315_resource_destruct()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn321/
Ddcn321_resource.c1155 static struct apg *dcn321_apg_create( in dcn321_apg_create()
1229 struct apg *apg; in dcn321_hpo_dp_stream_encoder_create() local
1256 apg = dcn321_apg_create(ctx, apg_inst); in dcn321_hpo_dp_stream_encoder_create()
1258 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn321_hpo_dp_stream_encoder_create()
1261 kfree(apg); in dcn321_hpo_dp_stream_encoder_create()
1273 hpo_dp_inst, eng_id, vpg, apg, in dcn321_hpo_dp_stream_encoder_create()
1352 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn321_resource_destruct()
1353 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn321_resource_destruct()
1354 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn321_resource_destruct()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_resource.c1169 static struct apg *dcn31_apg_create( in dcn31_apg_create()
1243 struct apg *apg; in dcn32_hpo_dp_stream_encoder_create() local
1270 apg = dcn31_apg_create(ctx, apg_inst); in dcn32_hpo_dp_stream_encoder_create()
1272 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn32_hpo_dp_stream_encoder_create()
1275 kfree(apg); in dcn32_hpo_dp_stream_encoder_create()
1287 hpo_dp_inst, eng_id, vpg, apg, in dcn32_hpo_dp_stream_encoder_create()
1366 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn32_resource_destruct()
1367 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn32_resource_destruct()
1368 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn32_resource_destruct()