From: Likun Gao <[email protected]>

Change SDMA doorbel size to 14 per SDMA engine.

Signed-off-by: Likun Gao <[email protected]>
Reviewed-by: Feifei Xu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
---
 drivers/gpu/drm/amd/amdgpu/soc_v1_0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/soc_v1_0.c 
b/drivers/gpu/drm/amd/amdgpu/soc_v1_0.c
index 90a69ef41c4b0..0c7759b82fa63 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc_v1_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc_v1_0.c
@@ -57,7 +57,7 @@ static void soc_v1_0_doorbell_index_init(struct amdgpu_device 
*adev)
        adev->doorbell_index.userqueue_end = 
AMDGPU_SOC_V1_0_DOORBELL_USERQUEUE_END;
        adev->doorbell_index.xcc_doorbell_range = 
AMDGPU_SOC_V1_0_DOORBELL_XCC_RANGE;
 
-       adev->doorbell_index.sdma_doorbell_range = 20;
+       adev->doorbell_index.sdma_doorbell_range = 14;
        for (i = 0; i < adev->sdma.num_instances; i++)
                adev->doorbell_index.sdma_engine[i] =
                        AMDGPU_SOC_V1_0_DOORBELL_sDMA_ENGINE_START +
-- 
2.53.0

Reply via email to