Re: [PATCH 3/4] drm/i915/ttm: ensure we unmap when purging

2022-01-05 Thread Thomas Hellström
On Wed, 2022-01-05 at 14:58 +, Matthew Auld wrote: > Purging can happen during swapping out, or directly invoked with the > madvise ioctl. In such cases this doesn't involve a ttm move, which > skips umapping the object. > > Fixes: cf3e3e86d779 ("drm/i915: Use ttm mmap handling for ttm bo's.")

[PATCH 3/4] drm/i915/ttm: ensure we unmap when purging

2022-01-05 Thread Matthew Auld
Purging can happen during swapping out, or directly invoked with the madvise ioctl. In such cases this doesn't involve a ttm move, which skips umapping the object. Fixes: cf3e3e86d779 ("drm/i915: Use ttm mmap handling for ttm bo's.") Signed-off-by: Matthew Auld Cc: Thomas Hellström --- drivers/