Re: [Intel-gfx] [PATCH v3 3/4] drm/i915/ttm: add unmap_virtual callback

2022-01-07 Thread Thomas Hellström
On 1/6/22 18:49, Matthew Auld wrote: Ensure we call ttm_bo_unmap_virtual when releasing the pages. Importantly this should now handle the ttm swapping case, and all other places that already call into i915_ttm_move_notify(). v2: fix up the selftest Fixes: cf3e3e86d779 ("drm/i915: Use ttm mmap

[Intel-gfx] [PATCH v3 3/4] drm/i915/ttm: add unmap_virtual callback

2022-01-06 Thread Matthew Auld
Ensure we call ttm_bo_unmap_virtual when releasing the pages. Importantly this should now handle the ttm swapping case, and all other places that already call into i915_ttm_move_notify(). v2: fix up the selftest Fixes: cf3e3e86d779 ("drm/i915: Use ttm mmap handling for ttm bo's.") Signed-off-by: