drm/amdgpu: limit sdma instances to 2 for Arcturus in BU phase
authorLe Ma <le.ma@amd.com>
Sun, 30 Jun 2019 03:35:32 +0000 (11:35 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:18:06 +0000 (14:18 -0500)
Another 6 sdma instances do not work at present. Disable them to unblock KFD
for silicon bringup as a workaround

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

index 921a6dd..8d33cb7 100644 (file)
@@ -1602,7 +1602,7 @@ 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;
+               adev->sdma.num_instances = 2;
        else
                adev->sdma.num_instances = 2;