]> Git Repo - linux.git/commit
drm/amdkfd: Fix eviction fence handling
authorFelix Kuehling <[email protected]>
Thu, 18 Apr 2024 01:13:59 +0000 (21:13 -0400)
committerAlex Deucher <[email protected]>
Wed, 24 Apr 2024 03:17:30 +0000 (23:17 -0400)
commit37865e02e6ccecdda240f33b4332105a5c734984
tree94fb629486ac92b749d3649b8f1597ec682ec741
parent2eb9dd497a698dc384c0dd3e0311d541eb2e13dd
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 <[email protected]>
Reviewed-by: Philip Yang <[email protected]>
Tested-by: Gang BA <[email protected]>
Reviewed-by: Gang BA <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected]
drivers/gpu/drm/amd/amdkfd/kfd_process.c
This page took 0.052821 seconds and 4 git commands to generate.