/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn31/ |
D | dcn31_apg.h | 30 #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, 92 struct apg *apg); 95 struct apg *apg); 101 struct apg base;
|
D | dcn31_apg.c | 48 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() 110 struct apg *apg, in apg31_se_audio_setup() argument 114 struct dcn31_apg *apg31 = DCN31_APG_FROM_APG(apg); in apg31_se_audio_setup() 138 apg31_enable(apg); in apg31_se_audio_setup() 142 struct apg *apg, in apg31_audio_mute_control() argument 146 apg31_disable(apg); in apg31_audio_mute_control() 148 apg31_enable(apg); in apg31_audio_mute_control()
|
D | dcn31_hpo_dp_stream_encoder.c | 607 ASSERT(enc->apg); in dcn31_hpo_dp_stream_enc_mute_control() 608 enc->apg->funcs->audio_mute_control(enc->apg, mute); in dcn31_hpo_dp_stream_enc_mute_control() 622 ASSERT(enc->apg); in dcn31_hpo_dp_stream_enc_audio_setup() 623 enc->apg->funcs->se_audio_setup(enc->apg, az_inst, info); in dcn31_hpo_dp_stream_enc_audio_setup() 644 enc->apg->funcs->enable_apg(enc->apg); in dcn31_hpo_dp_stream_enc_audio_enable() 665 enc->apg->funcs->disable_apg(enc->apg); in dcn31_hpo_dp_stream_enc_audio_disable() 744 struct apg *apg, in dcn31_hpo_dp_stream_encoder_construct() argument 755 enc3->base.apg = apg; in dcn31_hpo_dp_stream_encoder_construct()
|
D | dcn31_hpo_dp_stream_encoder.h | 239 struct apg *apg,
|
D | dcn31_resource.c | 1212 static struct apg *dcn31_apg_create( in dcn31_apg_create() 1271 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local 1298 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create() 1300 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create() 1303 kfree(apg); in dcn31_hpo_dp_stream_encoder_create() 1308 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create() 1394 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn31_resource_destruct() 1395 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn31_resource_destruct() 1396 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn31_resource_destruct()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | stream_encoder.h | 277 struct apg *apg; member
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn314/ |
D | dcn314_resource.c | 1238 static struct apg *dcn31_apg_create( in dcn31_apg_create() 1297 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local 1325 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create() 1327 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create() 1330 kfree(apg); in dcn31_hpo_dp_stream_encoder_create() 1335 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create() 1421 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn314_resource_destruct() 1422 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn314_resource_destruct() 1423 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn314_resource_destruct()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn315/ |
D | dcn315_resource.c | 1208 static struct apg *dcn31_apg_create( in dcn31_apg_create() 1269 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local 1296 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create() 1298 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create() 1301 kfree(apg); in dcn31_hpo_dp_stream_encoder_create() 1306 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create() 1392 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn315_resource_destruct() 1393 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn315_resource_destruct() 1394 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn315_resource_destruct()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn316/ |
D | dcn316_resource.c | 1208 static struct apg *dcn31_apg_create( in dcn31_apg_create() 1269 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local 1296 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create() 1298 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create() 1301 kfree(apg); in dcn31_hpo_dp_stream_encoder_create() 1306 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create() 1393 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn316_resource_destruct() 1394 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn316_resource_destruct() 1395 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn316_resource_destruct()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn321/ |
D | dcn321_resource.c | 1166 static struct apg *dcn321_apg_create( in dcn321_apg_create() 1240 struct apg *apg; in dcn321_hpo_dp_stream_encoder_create() local 1267 apg = dcn321_apg_create(ctx, apg_inst); in dcn321_hpo_dp_stream_encoder_create() 1269 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn321_hpo_dp_stream_encoder_create() 1272 kfree(apg); in dcn321_hpo_dp_stream_encoder_create() 1284 hpo_dp_inst, eng_id, vpg, apg, in dcn321_hpo_dp_stream_encoder_create() 1372 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn321_resource_destruct() 1373 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn321_resource_destruct() 1374 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn321_resource_destruct()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/ |
D | dcn32_resource.c | 1180 static struct apg *dcn31_apg_create( in dcn31_apg_create() 1254 struct apg *apg; in dcn32_hpo_dp_stream_encoder_create() local 1281 apg = dcn31_apg_create(ctx, apg_inst); in dcn32_hpo_dp_stream_encoder_create() 1283 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn32_hpo_dp_stream_encoder_create() 1286 kfree(apg); in dcn32_hpo_dp_stream_encoder_create() 1298 hpo_dp_inst, eng_id, vpg, apg, in dcn32_hpo_dp_stream_encoder_create() 1386 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn32_resource_destruct() 1387 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn32_resource_destruct() 1388 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn32_resource_destruct()
|