drm/amdgpu: enable 8 SDMA instances for Arcturus
authorLe Ma <le.ma@amd.com>
Tue, 20 Nov 2018 07:15:31 +0000 (15:15 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:18:03 +0000 (14:18 -0500)
All the 8 SDMA instances work fine on the latest Gopher build model.

Signed-off-by: Le Ma <le.ma@amd.com>
Reviewed-by: Snow Zhang <Snow.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c

index b97306f1df11fbd67dd1683c01bae4b859826d53..5abedba444fc6643387a906df04bda64b0c8878b 100644 (file)
@@ -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;