Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amd/display/dm: Add vega20 support

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Feifei Xu <Feifei.Xu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Feifei Xu and committed by
Alex Deucher
1fe6bf2f a95d89e2

+4
+4
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
··· 1115 1115 1116 1116 if (adev->asic_type == CHIP_VEGA10 || 1117 1117 adev->asic_type == CHIP_VEGA12 || 1118 + adev->asic_type == CHIP_VEGA20 || 1118 1119 adev->asic_type == CHIP_RAVEN) 1119 1120 client_id = SOC15_IH_CLIENTID_DCE; 1120 1121 ··· 1519 1518 #endif 1520 1519 case CHIP_VEGA10: 1521 1520 case CHIP_VEGA12: 1521 + case CHIP_VEGA20: 1522 1522 if (dce110_register_irq_handlers(dm->adev)) { 1523 1523 DRM_ERROR("DM: Failed to initialize IRQ\n"); 1524 1524 goto fail; ··· 1720 1718 break; 1721 1719 case CHIP_VEGA10: 1722 1720 case CHIP_VEGA12: 1721 + case CHIP_VEGA20: 1723 1722 adev->mode_info.num_crtc = 6; 1724 1723 adev->mode_info.num_hpd = 6; 1725 1724 adev->mode_info.num_dig = 6; ··· 1969 1966 1970 1967 if (adev->asic_type == CHIP_VEGA10 || 1971 1968 adev->asic_type == CHIP_VEGA12 || 1969 + adev->asic_type == CHIP_VEGA20 || 1972 1970 adev->asic_type == CHIP_RAVEN) { 1973 1971 /* Fill GFX9 params */ 1974 1972 plane_state->tiling_info.gfx9.num_pipes =