drm/amdgpu: expand to add multiple trap event irq id
authorHuang Rui <ray.huang@amd.com>
Sat, 12 Oct 2019 11:55:48 +0000 (19:55 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 15 Jul 2020 16:45:35 +0000 (12:45 -0400)
commit6565547113c956897be3c57f4b2d6ac6cbedeffe
tree4b8d95353cc55eba78f71334db1c69211a86d62c
parentc8466cc0d2a419e7659bff5161440741cb96ab1e
drm/amdgpu: expand to add multiple trap event irq id

Sienna_cichlid has four sdma instances, but other chips don't.
So we need expand to add multiple trap event irq id in sdma
v5.2.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@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/sdma_v5_2.c