[AMD Official Use Only - General]
This patch is:
Reviewed-and-Tested-by: Xiaogang Chen
-Original Message-
From: Kuehling, Felix
Sent: Thursday, August 4, 2022 5:29 PM
To: amd-gfx@lists.freedesktop.org
Cc: Chen, Xiaogang ; Curtis, Nicholas
Subject: [PATCH] drm/amdkfd: Handle restart
When kfd_ioctl_wait_events needs to restart due to a signal, we need to
update the timeout to account for the time already elapsed. We also need
to undo auto_reset of events that have signaled already, so that the
restarted ioctl will be able to count those signals again.
This fixes infinite hangs