aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorFelix Kuehling <felix.kuehling@amd.com>2024-04-17 21:13:59 -0400
committerAlex Deucher <alexander.deucher@amd.com>2024-04-23 23:17:30 -0400
commit37865e02e6ccecdda240f33b4332105a5c734984 (patch)
tree94fb629486ac92b749d3649b8f1597ec682ec741 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent2eb9dd497a698dc384c0dd3e0311d541eb2e13dd (diff)
downloadlinux-37865e02e6ccecdda240f33b4332105a5c734984.tar.gz
linux-37865e02e6ccecdda240f33b4332105a5c734984.tar.bz2
linux-37865e02e6ccecdda240f33b4332105a5c734984.zip
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> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions