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 19:06:53 +0000 (14:06 -0500)
commit514f4a99c7a1b635f7336a6e4732e6fe3ec972a9
tree0a4557ffe27f80550534476907ba3337d4da5ff5
parent3a50403f8b119d6be4f9935cee97473a2c90840e
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.

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