]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit473b661b7739f2de1a1b6ca86ec0c2c95027c790
tree81f03f5ee9bbcbfef0233ec695b4146c4f53e6d3
parent88304ddfc06ef0165c9641bfcafc95d063789c52
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