drm/amdgpu: move more interrupt processing into amdgpu_irq.c
authorChristian König <christian.koenig@amd.com>
Mon, 17 Sep 2018 13:18:37 +0000 (15:18 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Sep 2018 02:09:22 +0000 (21:09 -0500)
commit1f8969463bca23327eedadab0fef0d28c9b6f29f
tree0b2d16d6ed8a7da61b1e8594f104fb6f9d2271d9
parent95d7fc4a412aabd3f5b2e1123c3b8faf1a3d8da7
drm/amdgpu: move more interrupt processing into amdgpu_irq.c

Add a callback to amdgpu_ih_process to remove most of the IV logic.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ih.h
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c