From: Le Ma Date: Sun, 30 Jun 2019 03:35:32 +0000 (+0800) Subject: drm/amdgpu: limit sdma instances to 2 for Arcturus in BU phase X-Git-Tag: v5.4-rc1~106^2~17^2~331 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc1e272e8d21ebe5c992db534b855c604b060cdb;p=thirdparty%2Flinux.git drm/amdgpu: limit sdma instances to 2 for Arcturus in BU phase 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 Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c index 921a6dd9cbaeb..8d33cb730b630 100644 --- a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c +++ b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c @@ -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;