From fc1e272e8d21ebe5c992db534b855c604b060cdb Mon Sep 17 00:00:00 2001 From: Le Ma Date: Sun, 30 Jun 2019 11:35:32 +0800 Subject: [PATCH] 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 --- drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c index 921a6dd9..8d33cb7 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; -- 2.7.4