diff options
author | Felix Kuehling <[email protected]> | 2018-03-23 15:32:29 -0400 |
---|---|---|
committer | Oded Gabbay <[email protected]> | 2018-03-23 15:32:29 -0400 |
commit | 0919195f2b0d7437cb0de49b8975fdd7b5575490 (patch) | |
tree | df9d9b3cadab12297aee0b6d84efcb246b122492 /lib/memory-notifier-error-inject.c | |
parent | e52482dec8366a98ac380b3bdc1a4abb8a390914 (diff) |
drm/amdgpu: Enable amdgpu_ttm_tt_get_user_pages in worker threads
This commit allows amdgpu_ttm_tt_get_user_pages to work in a worker
thread rather than regular process context. This will be used when
KFD userptr BOs are restored after an MMU-notifier eviction.
v2: Manage task reference with get_task_struct/put_task_struct
Signed-off-by: Felix Kuehling <[email protected]>
Acked-by: Oded Gabbay <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions