diff options
author | Lang Yu <[email protected]> | 2021-10-11 14:41:57 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2021-10-28 14:26:12 -0400 |
commit | 68df0f195a689bbb0f92bfeadee6edd90c79c31f (patch) | |
tree | 520da80230e2c9b089f9909ded04c0621a3ec61c /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
parent | 3b8a23ae52dfbf785ea6f7c81358b1225a6bd339 (diff) |
drm/amdkfd: Separate pinned BOs destruction from general routine
Currently, all kfd BOs use same destruction routine. But pinned
BOs are not unpinned properly. Separate them from general routine.
v2 (Felix):
Add safeguard to prevent user space from freeing signal BO.
Kunmap signal BO in the event of setting event page error.
Just kunmap signal BO to avoid duplicating the code.
Signed-off-by: Lang Yu <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions