linux/drivers/gpu
Felix Kuehling 388c3263a5 drm/amdkfd: Fix eviction fence handling
commit 37865e02e6 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: 9a1c1339ab ("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>
2024-05-02 16:35:29 +02:00
..
drm drm/amdkfd: Fix eviction fence handling 2024-05-02 16:35:29 +02:00
host1x gpu: host1x: Skip reset assert on Tegra186 2024-02-22 18:48:06 +01:00
ipu-v3
trace
vga
Makefile