diff options
author | Abdiel Janulgue <abdiel.janulgue@linux.intel.com> | 2019-12-31 20:03:56 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-12-31 20:41:50 +0000 |
commit | 1764b992be0f1c4295d2d9572ec46d568bd3fc14 (patch) | |
tree | 788f80935ebd15df9676dc6a66339062f71e382d /lib | |
parent | cc39da0e4c5d084b96d44c56aba3d712a83f7567 (diff) | |
download | linux-1764b992be0f1c4295d2d9572ec46d568bd3fc14.tar.bz2 |
drm/i915: Introduce remap_io_sg() to prefault discontiguous objects
Provide a way to set the PTE within apply_page_range for discontiguous
objects in addition to the existing method of just incrementing the pfn
for a page range.
Fixes: cc662126b413 ("drm/i915: Introduce DRM_I915_GEM_MMAP_OFFSET")
Signed-off-by: Abdiel Janulgue <abdiel.janulgue@linux.intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20191231200356.409475-1-chris@chris-wilson.co.uk
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions