drm/amdgpu: add helper to toggle ih ring interrupts for navi10
authorHawking Zhang <Hawking.Zhang@amd.com>
Tue, 1 Dec 2020 15:19:03 +0000 (23:19 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Dec 2020 20:04:38 +0000 (15:04 -0500)
commit1ce6940e2a0a0a5ace879c2cb520bb02cb440dcd
treebf16610b3de56d067f70368b37ff3fdfae8b04e7
parent1514cb7d63d59a90bb6cf26c23417fad3a843c96
drm/amdgpu: add helper to toggle ih ring interrupts for navi10

navi10_ih_toggle_ring_interrupts will be used to
enable/disable an ih ring interrupts for navi1x
and onwards

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Acked-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Dennis Li <Dennis.Li@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/navi10_ih.c