drm/amdgpu: Correct and simplify sdma 4.x irq.num_types
authorFeifei Xu <Feifei.Xu@amd.com>
Sun, 25 Apr 2021 07:49:23 +0000 (15:49 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Apr 2021 03:36:04 +0000 (23:36 -0400)
commit5d11699914b9993d7c56ff74450f815c7a54e99f
treebcd2d82af145b732d908abd3ee52e4420314117b
parent3d2bee9188f24211b56874c7753a304d43278fad
drm/amdgpu: Correct and simplify sdma 4.x irq.num_types

Correct and init the sdma4.x irq.num_types.

v2: squash in fix (Alex)

Signed-off-by: Feifei Xu <Feifei.Xu@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c