From: Le Ma <le...@amd.com>

All the 8 SDMA instances work fine on the latest Gopher build model.

Signed-off-by: Le Ma <le...@amd.com>
Reviewed-by: Snow Zhang <snow.zh...@amd.com>
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
 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 974228b918d2..0ca41a8a7e5b 100644
--- a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
@@ -1539,6 +1539,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.20.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to