From: Le Ma <[email protected]>

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

Signed-off-by: Le Ma <[email protected]>
Reviewed-by: Snow Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
---
 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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to