aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux
diff options
context:
space:
mode:
authorMatthew Auld <[email protected]>2022-01-06 17:49:10 +0000
committerTvrtko Ursulin <[email protected]>2022-01-10 14:00:47 +0000
commit6ef295e34297433c78ea02dfcf1c649a769050bb (patch)
treebec15f7825e7fb16c91a99f605097e6e125f6653 /scripts/gdb/linux
parent8ee262ba79a19a4dba9949397b1cf5761679670c (diff)
drm/i915/ttm: ensure we unmap when purging
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. v2(Thomas): - add ttm_truncate helper, and just call into i915_ttm_move_notify() to handle the unmapping step Fixes: 213d50927763 ("drm/i915/ttm: Introduce a TTM i915 gem object backend") 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 ab4911b7d411ab2ef3b38322178b9138e156c393) Signed-off-by: Tvrtko Ursulin <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions