/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn31/ |
H A 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); 91 struct apg *apg); 97 struct apg base;
|
H A 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() 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()
|
H A D | dcn31_hpo_dp_stream_encoder.c | 638 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()
|
H A D | dcn31_hpo_dp_stream_encoder.h | 239 struct apg *apg,
|
H A D | dcn31_resource.c | 1200 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() 1368 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn31_resource_destruct() 1369 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn31_resource_destruct() 1370 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn31_resource_destruct()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/hw/ |
H A D | stream_encoder.h | 293 struct apg *apg; member
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn316/ |
H A D | dcn316_resource.c | 1195 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()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn315/ |
H A D | dcn315_resource.c | 1198 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() 1368 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn315_resource_destruct() 1369 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn315_resource_destruct() 1370 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn315_resource_destruct()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn321/ |
H A D | dcn321_resource.c | 1155 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() 1354 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn321_resource_destruct() 1355 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn321_resource_destruct() 1356 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn321_resource_destruct()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn314/ |
H A D | dcn314_resource.c | 1272 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() 1441 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn314_resource_destruct() 1442 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn314_resource_destruct() 1443 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn314_resource_destruct()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn32/ |
H A D | dcn32_resource.c | 1169 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() 1368 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn32_resource_destruct() 1369 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn32_resource_destruct() 1370 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn32_resource_destruct()
|