From: Le Ma Date: Tue, 20 Nov 2018 07:15:31 +0000 (+0800) Subject: drm/amdgpu: enable 8 SDMA instances for Arcturus X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=121d859918a3220db5fb49bcf07803dc5675679e;p=openwrt%2Fstaging%2Fblogic.git drm/amdgpu: enable 8 SDMA instances for Arcturus All the 8 SDMA instances work fine on the latest Gopher build model. Signed-off-by: Le Ma Reviewed-by: Snow Zhang 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 b97306f1df11..5abedba444fc 100644 --- a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c +++ b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c @@ -1542,6 +1542,8 @@ 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; else adev->sdma.num_instances = 2;