]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: IH process reset count when restart
authorPhilip Yang <Philip.Yang@amd.com>
Sat, 13 Nov 2021 00:05:08 +0000 (19:05 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Nov 2021 20:09:46 +0000 (15:09 -0500)
commit85baddc1e73de6949d95739a8090e37fc30eca1c
tree2b0dffe29cba748338bcca981134aebce371d6a6
parent1ebaa8932d8259dce81cee91323fe09be0b27630
drm/amdgpu: IH process reset count when restart

Otherwise when IH process restart, count is zero, the loop will
not exit to wake_up_all after processing AMDGPU_IH_MAX_NUM_IVS
interrupts.

Cc: stable@vger.kernel.org
Signed-off-by: Philip Yang <Philip.Yang@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/amdgpu_ih.c