Re: [PATCH 2/4] drm/i915/ttm: only fault WILLNEED objects

2022-01-05 Thread Thomas Hellström
On Wed, 2022-01-05 at 14:58 +, Matthew Auld wrote: > 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 Aul

[PATCH 2/4] drm/i915/ttm: only fault WILLNEED objects

2022-01-05 Thread Matthew Auld
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 Cc: Thomas Hellström --- drivers/gpu/drm/i915/gem/i915_gem_t