diff options
author | Matthew Auld <[email protected]> | 2022-01-06 17:49:09 +0000 |
---|---|---|
committer | Tvrtko Ursulin <[email protected]> | 2022-01-10 13:55:07 +0000 |
commit | 8ee262ba79a19a4dba9949397b1cf5761679670c (patch) | |
tree | 49b842c976fb4a82ebd563723a0d4f1483aafa40 /scripts/gdb/linux/tasks.py | |
parent | 03ee5956781b2245b1c77334ecdea6386fd3bfba (diff) |
drm/i915/ttm: add unmap_virtual callback
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: Matthew Auld <[email protected]>
Cc: Thomas Hellström <[email protected]>
Reviewed-by: Thomas Hellström <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 903e0387270eef14a711c0feb23b7bf62d2480df)
Signed-off-by: Tvrtko Ursulin <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions