summaryrefslogtreecommitdiff
path: root/Documentation/ABI
diff options
context:
space:
mode:
authorOak Zeng <oak.zeng@intel.com>2024-04-12 15:22:37 +0530
committerThomas Hellström <thomas.hellstrom@linux.intel.com>2024-04-12 14:49:05 +0200
commit12f4b58a37f48a049893f1ae04b3fbb9b5088e8c (patch)
treee67d569daf86f6d3adbb00b3a7f587fb0a29ef8f /Documentation/ABI
parent81e058a3e7fd8593d076b4f26f7b8bb49f1d61e3 (diff)
drm/xe: Use hmm_range_fault to populate user pages
This is an effort to unify hmmptr (aka system allocator) and userptr code. hmm_range_fault is used to populate a virtual address range for both hmmptr and userptr, instead of hmmptr using hmm_range_fault and userptr using get_user_pages_fast. This also aligns with AMD gpu driver's behavior. In long term, we plan to put some common helpers in this area to drm layer so it can be re-used by different vendors. -v1 use the function with parameter to confirm whether lock is acquired by the caller or needs to be acquired in hmm_range_fault. Reviewed-by: Matthew Brost <matthew.brost@intel.com> Cc: Matthew Brost <matthew.brost@intel.com> Signed-off-by: Oak Zeng <oak.zeng@intel.com> Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com> Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240412095237.1048599-3-himal.prasad.ghimiray@intel.com
Diffstat (limited to 'Documentation/ABI')
0 files changed, 0 insertions, 0 deletions