drm/amdgpu: Fix interrupt handling on ih_soft ring
authorMukul Joshi <mukul.joshi@amd.com>
Fri, 12 Aug 2022 19:23:51 +0000 (15:23 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 16 Aug 2022 22:14:31 +0000 (18:14 -0400)
commitde8341ee3ce7316883e836a2c4e9bf01ab651e0f
tree81f03f5ee9bbcbfef0233ec695b4146c4f53e6d3
parente42dfa66d59240afbdd8d4b47b87486db39504aa
drm/amdgpu: Fix interrupt handling on ih_soft ring

There are no backing hardware registers for ih_soft ring.
As a result, don't try to access hardware registers for read
and write pointers when processing interrupts on the IH soft
ring.

Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/navi10_ih.c
drivers/gpu/drm/amd/amdgpu/vega10_ih.c
drivers/gpu/drm/amd/amdgpu/vega20_ih.c