summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/gem/i915_gem_mman.c
diff options
context:
space:
mode:
authorMatthew Auld <matthew.auld@intel.com>2022-01-06 17:49:08 +0000
committerMatthew Auld <matthew.auld@intel.com>2022-01-10 11:01:42 +0000
commitf3cb4a2de5410147b53e53416a3af0ffe26b5f4e (patch)
tree43d99abf1c36bfdbe615a739b59d2c46085cd63a /drivers/gpu/drm/i915/gem/i915_gem_mman.c
parent658a0c632625e1db51837ff754fe18a6a7f2ccf8 (diff)
drm/i915/ttm: only fault WILLNEED objects
Don't attempt to fault and re-populate purged objects. By some fluke this passes the dontneed-after-mmap IGT, but for the wrong reasons. Fixes: cf3e3e86d779 ("drm/i915: Use ttm mmap handling for ttm bo's.") Signed-off-by: Matthew Auld <matthew.auld@intel.com> Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com> Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220106174910.280616-2-matthew.auld@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/gem/i915_gem_mman.c')
0 files changed, 0 insertions, 0 deletions