drm/amdgpu: Correct the irq types' num of sdma
authorEmily Deng <Emily.Deng@amd.com>
Thu, 28 Mar 2019 09:29:10 +0000 (17:29 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 3 Apr 2019 15:00:28 +0000 (10:00 -0500)
commitaf67772d0a763a62b3d14e12e9d1c08c6974eac9
treecd5823e2bb927d277da753bdb9d4d26c964ff9d8
parent5ebffda257731a11cf1db6c6142c82d5b30aec35
drm/amdgpu: Correct the irq types' num of sdma

Fix the issue about TDR-2 will have "fallback timer expired on ring sdma1".
It is because the wrong number of irq types setting.

Signed-off-by: Emily Deng <Emily.Deng@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h
drivers/gpu/drm/amd/amdgpu/cik_sdma.c
drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
drivers/gpu/drm/amd/amdgpu/si_dma.c