diff options
author | Lang Yu <lang.yu@amd.com> | 2021-10-11 14:41:57 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-10-28 14:26:12 -0400 |
commit | 68df0f195a689bbb0f92bfeadee6edd90c79c31f (patch) | |
tree | 520da80230e2c9b089f9909ded04c0621a3ec61c /lib/memory-notifier-error-inject.c | |
parent | 3b8a23ae52dfbf785ea6f7c81358b1225a6bd339 (diff) | |
download | linux-68df0f195a689bbb0f92bfeadee6edd90c79c31f.tar.bz2 |
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 <lang.yu@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions