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
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>2022-01-10 13:55:02 +0000
commit03ee5956781b2245b1c77334ecdea6386fd3bfba (patch)
tree27834ed48a9cd73fe375f5b9f93a45a8923b456b /drivers/gpu/drm/i915/gem/i915_gem_mman.c
parent4c2602ba8d74c35d550ed3d518809c697de08d88 (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 (cherry picked from commit f3cb4a2de5410147b53e53416a3af0ffe26b5f4e) Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/gem/i915_gem_mman.c')
0 files changed, 0 insertions, 0 deletions