diff options
author | Philip Yang <Philip.Yang@amd.com> | 2022-03-27 22:02:56 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-03-31 23:05:53 -0400 |
commit | 9563e1ec9292254a5feb3dd1b7fbef0bed512c8f (patch) | |
tree | 031d284a00ea51d4a71e4e01f9c2f98209b2beef /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
parent | 3222a81148ca273af66cb67f8445114bc633e747 (diff) |
drm/amdgpu: Correct unlocked update fence handling
To fix two issues with unlocked update fence:
1. vm->last_unlocked store the latest fence without taking refcount.
2. amdgpu_vm_bo_update_mapping returns old fence, not the latest fence.
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions