aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/selftests
diff options
context:
space:
mode:
authorMatthew Auld <matthew.auld@intel.com>2022-01-06 17:49:10 +0000
committerMatthew Auld <matthew.auld@intel.com>2022-01-10 11:11:32 +0000
commitab4911b7d411ab2ef3b38322178b9138e156c393 (patch)
treec228fb862b590e53fd8fc62ebe68f706961c3696 /drivers/gpu/drm/i915/selftests
parentdrm/i915/ttm: add unmap_virtual callback (diff)
downloadlinux-dev-ab4911b7d411ab2ef3b38322178b9138e156c393.tar.xz
linux-dev-ab4911b7d411ab2ef3b38322178b9138e156c393.zip
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 <matthew.auld@intel.com> Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com> Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220106174910.280616-4-matthew.auld@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/selftests')
0 files changed, 0 insertions, 0 deletions