From: Le Ma Date: Tue, 2 Jul 2019 03:15:37 +0000 (+0800) Subject: drm/amdgpu: enable all 8 sdma instances for Arcturus silicon X-Git-Tag: v5.4-rc1~106^2~17^2~327 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=69d4de94f8d35111b3cb54821d3d933b93d87343;p=linux.git drm/amdgpu: enable all 8 sdma instances for Arcturus silicon The more 6 sdma instances work fine now with DF fix in vbios: * mmDF_PIE_AON_MiscClientsEnable(0x1c728)=0x3fe(DF_ALL_INSTANCE) [9:4]MmhubsEnable=3f (change from 0) Signed-off-by: Le Ma Reviewed-by: Evan Quan 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 8d33cb730b63..921a6dd9cbae 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 = 2; + adev->sdma.num_instances = 8; else adev->sdma.num_instances = 2;