diff options
author | Felix Kuehling <felix.kuehling@amd.com> | 2024-04-17 21:13:59 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-04-18 23:54:48 -0400 |
commit | 7e38ccb5276fe28f60088181ff4d279a8277b708 (patch) | |
tree | fe13c6227c54e1fc32b2234504c5c40554c3c661 /scripts/gcc-plugins/structleak_plugin.c | |
parent | 6a009ca1bf94dfe194d6e9cc85a9319b483aac2d (diff) |
drm/amdkfd: Fix eviction fence handling
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>
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions