From 121d859918a3220db5fb49bcf07803dc5675679e Mon Sep 17 00:00:00 2001 From: Le Ma Date: Tue, 20 Nov 2018 15:15:31 +0800 Subject: [PATCH] drm/amdgpu: enable 8 SDMA instances for Arcturus All the 8 SDMA instances work fine on the latest Gopher build model. Signed-off-by: Le Ma Reviewed-by: Snow Zhang Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c index b97306f1df11..5abedba444fc 100644 --- a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c +++ b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c @@ -1542,6 +1542,8 @@ static int sdma_v4_0_early_init(void *handle) if (adev->asic_type == CHIP_RAVEN) adev->sdma.num_instances = 1; + else if (adev->asic_type == CHIP_ARCTURUS) + adev->sdma.num_instances = 8; else adev->sdma.num_instances = 2; -- 2.30.2