summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
diff options
context:
space:
mode:
authorLe Ma <le.ma@amd.com>2019-06-30 11:35:32 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-07-18 14:18:06 -0500
commitfc1e272e8d21ebe5c992db534b855c604b060cdb (patch)
treebc82b8795b006e8083d847be43f340bcb097a40e /drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
parentf9cf36fcafee8e12ffc6026dc8410c17aa21c819 (diff)
downloadlinux-fc1e272e8d21ebe5c992db534b855c604b060cdb.tar.bz2
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 <le.ma@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
index 921a6dd9cbae..8d33cb730b63 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;