| /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()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/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()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn314/ |
| H A D | dcn314_resource.c | 1260 static struct apg *dcn31_apg_create( in dcn31_apg_create() 1319 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local 1347 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create() 1349 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create() 1352 kfree(apg); in dcn31_hpo_dp_stream_encoder_create() 1357 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create() 1429 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn314_resource_destruct() 1430 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn314_resource_destruct() 1431 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn314_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn315/ |
| H A D | dcn315_resource.c | 1201 static struct apg *dcn31_apg_create( in dcn31_apg_create() 1262 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local 1289 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create() 1291 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create() 1294 kfree(apg); in dcn31_hpo_dp_stream_encoder_create() 1299 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create() 1371 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn315_resource_destruct() 1372 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn315_resource_destruct() 1373 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn315_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn31/ |
| H A D | dcn31_resource.c | 1202 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/dcn36/ |
| H A D | dcn36_resource.c | 1228 static struct apg *dcn31_apg_create( in dcn31_apg_create() 1302 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local 1329 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create() 1331 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create() 1334 kfree(apg); in dcn31_hpo_dp_stream_encoder_create() 1346 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 dcn36_resource_destruct() 1428 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn36_resource_destruct() 1429 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn36_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn35/ |
| H A D | dcn35_resource.c | 1241 static struct apg *dcn31_apg_create( in dcn31_apg_create() 1315 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local 1342 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create() 1344 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create() 1347 kfree(apg); in dcn31_hpo_dp_stream_encoder_create() 1359 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create() 1440 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn35_resource_destruct() 1441 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn35_resource_destruct() 1442 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn35_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn351/ |
| H A D | dcn351_resource.c | 1221 static struct apg *dcn31_apg_create( in dcn31_apg_create() 1295 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local 1322 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create() 1324 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create() 1327 kfree(apg); in dcn31_hpo_dp_stream_encoder_create() 1339 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create() 1420 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn351_resource_destruct() 1421 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn351_resource_destruct() 1422 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn351_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn321/ |
| H A D | dcn321_resource.c | 1158 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/hpo/dcn31/ |
| H A D | dcn31_hpo_dp_stream_encoder.h | 239 struct apg *apg,
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn401/ |
| H A D | dcn401_resource.c | 1183 static struct apg *dcn401_apg_create( in dcn401_apg_create() 1255 struct apg *apg; in dcn401_hpo_dp_stream_encoder_create() local 1282 apg = dcn401_apg_create(ctx, apg_inst); in dcn401_hpo_dp_stream_encoder_create() 1284 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn401_hpo_dp_stream_encoder_create() 1287 kfree(apg); in dcn401_hpo_dp_stream_encoder_create() 1299 hpo_dp_inst, eng_id, vpg, apg, in dcn401_hpo_dp_stream_encoder_create() 1412 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn401_resource_destruct() 1413 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn401_resource_destruct() 1414 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn401_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/ |
| H A D | dcn32_resource.c | 1177 static struct apg *dcn31_apg_create( in dcn31_apg_create() 1251 struct apg *apg; in dcn32_hpo_dp_stream_encoder_create() local 1278 apg = dcn31_apg_create(ctx, apg_inst); in dcn32_hpo_dp_stream_encoder_create() 1280 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn32_hpo_dp_stream_encoder_create() 1283 kfree(apg); in dcn32_hpo_dp_stream_encoder_create() 1295 hpo_dp_inst, eng_id, vpg, apg, in dcn32_hpo_dp_stream_encoder_create() 1376 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn32_resource_destruct() 1377 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn32_resource_destruct() 1378 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn32_resource_destruct()
|