| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn60/ |
| H A D | dcn60_resource.c | 1375 static struct apg *dcn60_apg_create( in dcn60_apg_create() 1405 struct apg *apg; in dcn60_stream_encoder_create() local 1418 apg = dcn60_apg_create(ctx, apg_inst); in dcn60_stream_encoder_create() 1420 if (!enc1 || !vpg || !apg || eng_id >= ARRAY_SIZE(stream_enc_regs)) { in dcn60_stream_encoder_create() 1423 kfree(apg); in dcn60_stream_encoder_create() 1434 eng_id, vpg, apg, in dcn60_stream_encoder_create() 1446 struct apg *apg; in dcn60_hpo_frl_stream_encoder_create() local 1465 apg = dcn60_apg_create(ctx, apg_inst); in dcn60_hpo_frl_stream_encoder_create() 1467 if (!hpo_enc60 || !vpg || !apg) { in dcn60_hpo_frl_stream_encoder_create() 1470 kfree(apg); in dcn60_hpo_frl_stream_encoder_create() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn42/ |
| H A D | dcn42_resource.c | 1228 static struct apg *dcn42_apg_create( in dcn42_apg_create() 1264 struct apg *apg; in dcn42_stream_encoder_create() local 1278 apg = dcn42_apg_create(ctx, apg_inst); in dcn42_stream_encoder_create() 1280 if (!enc1 || !vpg || !apg) { in dcn42_stream_encoder_create() 1283 kfree(apg); in dcn42_stream_encoder_create() 1295 eng_id, vpg, apg, in dcn42_stream_encoder_create() 1307 struct apg *apg; in dcn42_hpo_frl_stream_encoder_create() local 1328 apg = dcn42_apg_create(ctx, apg_inst); in dcn42_hpo_frl_stream_encoder_create() 1330 if (!hpo_enc42 || !vpg || !apg) { in dcn42_hpo_frl_stream_encoder_create() 1333 kfree(apg); in dcn42_hpo_frl_stream_encoder_create() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn42b/ |
| H A D | dcn42b_resource.c | 1297 static struct apg *dcn42b_apg_create( in dcn42b_apg_create() 1333 struct apg *apg; in dcn42b_stream_encoder_create() local 1347 apg = dcn42b_apg_create(ctx, apg_inst); in dcn42b_stream_encoder_create() 1349 if (!enc1 || !vpg || !apg) { in dcn42b_stream_encoder_create() 1352 kfree(apg); in dcn42b_stream_encoder_create() 1366 eng_id, vpg, apg, in dcn42b_stream_encoder_create() 1378 struct apg *apg; in dcn42b_hpo_dp_stream_encoder_create() local 1407 apg = dcn42b_apg_create(ctx, apg_inst); in dcn42b_hpo_dp_stream_encoder_create() 1409 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn42b_hpo_dp_stream_encoder_create() 1412 kfree(apg); in dcn42b_hpo_dp_stream_encoder_create() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn316/ |
| H A D | dcn316_resource.c | 1271 static struct apg *dcn31_apg_create( in dcn31_apg_create() 1396 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local 1423 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create() 1425 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create() 1428 kfree(apg); in dcn31_hpo_dp_stream_encoder_create() 1433 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create() 1522 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn316_resource_destruct() 1523 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn316_resource_destruct() 1524 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 | 1335 static struct apg *dcn31_apg_create( in dcn31_apg_create() 1459 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local 1487 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create() 1489 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create() 1492 kfree(apg); in dcn31_hpo_dp_stream_encoder_create() 1497 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create() 1587 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn314_resource_destruct() 1588 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn314_resource_destruct() 1589 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn314_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn36/ |
| H A D | dcn36_resource.c | 1297 static struct apg *dcn31_apg_create( in dcn31_apg_create() 1437 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local 1464 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create() 1466 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create() 1469 kfree(apg); in dcn31_hpo_dp_stream_encoder_create() 1481 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create() 1578 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn36_resource_destruct() 1579 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn36_resource_destruct() 1580 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn36_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn31/ |
| H A D | dcn31_resource.c | 1278 static struct apg *dcn31_apg_create( in dcn31_apg_create() 1400 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local 1427 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create() 1429 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create() 1432 kfree(apg); in dcn31_hpo_dp_stream_encoder_create() 1437 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create() 1527 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn31_resource_destruct() 1528 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn31_resource_destruct() 1529 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn31_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn35/ |
| H A D | dcn35_resource.c | 1310 static struct apg *dcn31_apg_create( in dcn31_apg_create() 1450 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local 1477 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create() 1479 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create() 1482 kfree(apg); in dcn31_hpo_dp_stream_encoder_create() 1494 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create() 1591 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn35_resource_destruct() 1592 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn35_resource_destruct() 1593 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn35_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn315/ |
| H A D | dcn315_resource.c | 1277 static struct apg *dcn31_apg_create( in dcn31_apg_create() 1402 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local 1429 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create() 1431 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create() 1434 kfree(apg); in dcn31_hpo_dp_stream_encoder_create() 1439 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create() 1529 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn315_resource_destruct() 1530 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn315_resource_destruct() 1531 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn315_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn351/ |
| H A D | dcn351_resource.c | 1290 static struct apg *dcn31_apg_create( in dcn31_apg_create() 1430 struct apg *apg; in dcn31_hpo_dp_stream_encoder_create() local 1457 apg = dcn31_apg_create(ctx, apg_inst); in dcn31_hpo_dp_stream_encoder_create() 1459 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn31_hpo_dp_stream_encoder_create() 1462 kfree(apg); in dcn31_hpo_dp_stream_encoder_create() 1474 hpo_dp_inst, eng_id, vpg, apg, in dcn31_hpo_dp_stream_encoder_create() 1571 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn351_resource_destruct() 1572 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn351_resource_destruct() 1573 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 | 1226 static struct apg *dcn321_apg_create( in dcn321_apg_create() 1373 struct apg *apg; in dcn321_hpo_dp_stream_encoder_create() local 1400 apg = dcn321_apg_create(ctx, apg_inst); in dcn321_hpo_dp_stream_encoder_create() 1402 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn321_hpo_dp_stream_encoder_create() 1405 kfree(apg); in dcn321_hpo_dp_stream_encoder_create() 1417 hpo_dp_inst, eng_id, vpg, apg, in dcn321_hpo_dp_stream_encoder_create() 1516 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn321_resource_destruct() 1517 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn321_resource_destruct() 1518 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn321_resource_destruct()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn401/ |
| H A D | dcn401_resource.c | 1236 static struct apg *dcn401_apg_create( in dcn401_apg_create() 1373 struct apg *apg; in dcn401_hpo_dp_stream_encoder_create() local 1400 apg = dcn401_apg_create(ctx, apg_inst); in dcn401_hpo_dp_stream_encoder_create() 1402 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn401_hpo_dp_stream_encoder_create() 1405 kfree(apg); in dcn401_hpo_dp_stream_encoder_create() 1417 hpo_dp_inst, eng_id, vpg, apg, in dcn401_hpo_dp_stream_encoder_create() 1546 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn401_resource_destruct() 1547 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn401_resource_destruct() 1548 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 | 1251 static struct apg *dcn31_apg_create( in dcn31_apg_create() 1398 struct apg *apg; in dcn32_hpo_dp_stream_encoder_create() local 1425 apg = dcn31_apg_create(ctx, apg_inst); in dcn32_hpo_dp_stream_encoder_create() 1427 if (!hpo_dp_enc31 || !vpg || !apg) { in dcn32_hpo_dp_stream_encoder_create() 1430 kfree(apg); in dcn32_hpo_dp_stream_encoder_create() 1442 hpo_dp_inst, eng_id, vpg, apg, in dcn32_hpo_dp_stream_encoder_create() 1541 if (pool->base.hpo_dp_stream_enc[i]->apg != NULL) { in dcn32_resource_destruct() 1542 kfree(DCN31_APG_FROM_APG(pool->base.hpo_dp_stream_enc[i]->apg)); in dcn32_resource_destruct() 1543 pool->base.hpo_dp_stream_enc[i]->apg = NULL; in dcn32_resource_destruct()
|