From: Rajneesh Bhardwaj Date: Sun, 5 Apr 2020 18:43:24 +0000 (-0400) Subject: drm/amdgpu: enable xgmi support for Aldebaran X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=efce10005be4023e23ed51fe1c2e8380d5fe62d4;p=linux.git drm/amdgpu: enable xgmi support for Aldebaran Like its predecessors Aldebran also supports advanced high bandwidth GPU-GPU communication interface known as xgmi. This enables the basic xgmi support while refactoring the code slightly. Detection of xgmi link between host cpu and gpu will be introduced in a different patch. Reviewed-by: Oak Zeng Reviewed-by: Christian König Reviewed-by: Alex Deucher Reviewed-by: Hawking Zhang Signed-off-by: Rajneesh Bhardwaj Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c index 4bbd99b0cc592..cdbea673a58ea 100644 --- a/drivers/gpu/drm/amd/amdgpu/soc15.c +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c @@ -917,7 +917,9 @@ int soc15_set_ip_blocks(struct amdgpu_device *adev) if (!amdgpu_sriov_vf(adev)) soc15_reg_base_init(adev); - if (adev->asic_type == CHIP_VEGA20 || adev->asic_type == CHIP_ARCTURUS) + if (adev->asic_type == CHIP_VEGA20 || + adev->asic_type == CHIP_ARCTURUS || + adev->asic_type == CHIP_ALDEBARAN) adev->gmc.xgmi.supported = true; if (adev->flags & AMD_IS_APU) {