summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorFelix Kuehling <Felix.Kuehling@amd.com>2018-03-23 22:32:29 +0300
committerOded Gabbay <oded.gabbay@gmail.com>2018-03-23 22:32:29 +0300
commit0919195f2b0d7437cb0de49b8975fdd7b5575490 (patch)
treedf9d9b3cadab12297aee0b6d84efcb246b122492 /scripts/gdb/linux/utils.py
parente52482dec8366a98ac380b3bdc1a4abb8a390914 (diff)
downloadlinux-0919195f2b0d7437cb0de49b8975fdd7b5575490.tar.xz
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 <Felix.Kuehling@amd.com> Acked-by: Oded Gabbay <oded.gabbay@gmail.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions