| /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;
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn314/ |
| H A D | dcn314_resource.c | 1289 static struct apg *dcn31_apg_create( in dcn31_apg_create() 1348 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local 1376 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create() 1378 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create() 1381 kfree(apg); in dcn31_hpo_dp_stream_encoder_create() 1386 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create() 1458 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn314_resource_destruct() 1459 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn314_resource_destruct() 1460 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn314_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn316/ |
| H A D | dcn316_resource.c | 1224 static struct apg *dcn31_apg_create( in dcn31_apg_create() 1285 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local 1312 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create() 1314 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create() 1317 kfree(apg); in dcn31_hpo_dp_stream_encoder_create() 1322 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create() 1395 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn316_resource_destruct() 1396 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn316_resource_destruct() 1397 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn316_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn35/ |
| H A D | dcn35_resource.c | 1271 static struct apg *dcn31_apg_create( in dcn31_apg_create() 1345 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local 1372 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create() 1374 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create() 1377 kfree(apg); in dcn31_hpo_dp_stream_encoder_create() 1389 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create() 1470 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn35_resource_destruct() 1471 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn35_resource_destruct() 1472 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn35_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn31/ |
| H A D | dcn31_resource.c | 1231 static struct apg *dcn31_apg_create( in dcn31_apg_create() 1290 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local 1317 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create() 1319 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create() 1322 kfree(apg); in dcn31_hpo_dp_stream_encoder_create() 1327 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create() 1399 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn31_resource_destruct() 1400 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn31_resource_destruct() 1401 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn31_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn315/ |
| H A D | dcn315_resource.c | 1230 static struct apg *dcn31_apg_create( in dcn31_apg_create() 1291 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local 1318 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create() 1320 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create() 1323 kfree(apg); in dcn31_hpo_dp_stream_encoder_create() 1328 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create() 1400 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn315_resource_destruct() 1401 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn315_resource_destruct() 1402 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn315_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn36/ |
| H A D | dcn36_resource.c | 1258 static struct apg *dcn31_apg_create( in dcn31_apg_create() 1332 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() 1376 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create() 1457 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn36_resource_destruct() 1458 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn36_resource_destruct() 1459 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn36_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn321/ |
| H A D | dcn321_resource.c | 1188 static struct apg *dcn321_apg_create( in dcn321_apg_create() 1262 struct apg *apg; in dcn321_hpo_dp_stream_encoder_create() local 1289 apg = dcn321_apg_create(ctx, apg_inst); in dcn321_hpo_dp_stream_encoder_create() 1291 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn321_hpo_dp_stream_encoder_create() 1294 kfree(apg); in dcn321_hpo_dp_stream_encoder_create() 1306 hpo_dp_inst, eng_id, vpg, apg, in dcn321_hpo_dp_stream_encoder_create() 1387 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn321_resource_destruct() 1388 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn321_resource_destruct() 1389 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn321_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn351/ |
| H A D | dcn351_resource.c | 1251 static struct apg *dcn31_apg_create( in dcn31_apg_create() 1325 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local 1352 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create() 1354 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create() 1357 kfree(apg); in dcn31_hpo_dp_stream_encoder_create() 1369 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create() 1450 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn351_resource_destruct() 1451 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn351_resource_destruct() 1452 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn351_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/ |
| H A D | dcn32_resource.c | 1207 static struct apg *dcn31_apg_create( in dcn31_apg_create() 1281 struct apg *apg; in dcn32_hpo_dp_stream_encoder_create() local 1308 apg = dcn31_apg_create(ctx, apg_inst); in dcn32_hpo_dp_stream_encoder_create() 1310 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn32_hpo_dp_stream_encoder_create() 1313 kfree(apg); in dcn32_hpo_dp_stream_encoder_create() 1325 hpo_dp_inst, eng_id, vpg, apg, in dcn32_hpo_dp_stream_encoder_create() 1406 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn32_resource_destruct() 1407 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn32_resource_destruct() 1408 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn32_resource_destruct()
|