✓ CI.checkpatch: success for drm/xe: Rework eviction rejection of bound external bos (rev3)
Patchwork
patchwork at emeril.freedesktop.org
Wed May 28 17:20:53 UTC 2025
== Series Details ==
Series: drm/xe: Rework eviction rejection of bound external bos (rev3)
URL : https://patchwork.freedesktop.org/series/149505/
State : success
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
202708c00696422fd217223bb679a353a5936e23
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 4070f379e37af2c9cdb79f28f410047117f819d2
Author: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Date: Wed May 28 18:41:05 2025 +0200
drm/xe: Rework eviction rejection of bound external bos
For preempt_fence mode VM's we're rejecting eviction of
shared bos during VM_BIND. However, since we do this in the
move() callback, we're getting an eviction failure warning from
TTM. The TTM callback intended for these things is
eviction_valuable().
However, the latter doesn't pass in the struct ttm_operation_ctx
needed to determine whether the caller needs this.
Instead, attach the needed information to the vm under the
vm->resv, until we've been able to update TTM to provide the
needed information. And add sufficient lockdep checks to prevent
misuse and races.
v2:
- Fix a copy-paste error in xe_vm_clear_validating()
v3:
- Fix kerneldoc errors.
Signed-off-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Fixes: 0af944f0e308 ("drm/xe: Reject BO eviction if BO is bound to current VM")
Reviewed-by: Matthew Brost <matthew.brost at intel.com>
+ /mt/dim checkpatch bce15b90200d1d7d4b5ff1a6cac0b43d8bf45319 drm-intel
4070f379e37a drm/xe: Rework eviction rejection of bound external bos
More information about the Intel-xe
mailing list