diff options
author | Felix Kuehling <felix.kuehling@amd.com> | 2024-04-18 04:13:59 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-05-02 17:35:29 +0300 |
commit | 388c3263a5fec904ea6da771d8c3e83ac8c869de (patch) | |
tree | 3b6a3d23191ea0e489bae073fb44254f5b185d32 /include/math-emu/single.h | |
parent | 91933b287638819a0d0a7a34caad5c9c78e6cd26 (diff) | |
download | linux-388c3263a5fec904ea6da771d8c3e83ac8c869de.tar.xz |
drm/amdkfd: Fix eviction fence handling
commit 37865e02e6ccecdda240f33b4332105a5c734984 upstream.
Handle case that dma_fence_get_rcu_safe returns NULL.
If restore work is already scheduled, only update its timer. The same
work item cannot be queued twice, so undo the extra queue eviction.
Fixes: 9a1c1339abf9 ("drm/amdkfd: Run restore_workers on freezable WQs")
Signed-off-by: Felix Kuehling <felix.kuehling@amd.com>
Reviewed-by: Philip Yang <Philip.Yang@amd.com>
Tested-by: Gang BA <Gang.Ba@amd.com>
Reviewed-by: Gang BA <Gang.Ba@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/math-emu/single.h')
0 files changed, 0 insertions, 0 deletions