diff options
author | Felix Kuehling <Felix.Kuehling@amd.com> | 2023-12-18 16:17:23 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-02-05 20:14:30 +0000 |
commit | 0d35c8977be8f220931d437d568f64a7028d0115 (patch) | |
tree | ba9cd258a9a9a9df3892fd9f7f433db0ac888cb2 /drivers/gpu/drm/amd/include/amd_shared.h | |
parent | cef7f96a0a4c00f761248cd714b086c1256992cb (diff) |
drm/amdgpu: Let KFD sync with VM fences
[ Upstream commit ec9ba4821fa52b5efdbc4cdf0a77497990655231 ]
Change the rules for amdgpu_sync_resv to let KFD synchronize with VM
fences on page table reservations. This fixes intermittent memory
corruption after evictions when using amdgpu_vm_handle_moved to update
page tables for VM mappings managed through render nodes.
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/include/amd_shared.h')
0 files changed, 0 insertions, 0 deletions