✓ CI.checkpatch: success for drm/xe: Rework eviction rejection of bound external bos (rev2)

Patchwork patchwork at emeril.freedesktop.org
Tue May 27 14:08:31 UTC 2025


== Series Details ==

Series: drm/xe: Rework eviction rejection of bound external bos (rev2)
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 87e3702e5c244ec6d9aa0d412ddb113bcdb505b6
Author: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Date:   Mon May 26 18:16:32 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()
    
    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")
    Cc: Oak Zeng <oak.zeng at intel.com>
+ /mt/dim checkpatch b85200adaeff8739c0358088e20a8cbdb4bda851 drm-intel
87e3702e5c24 drm/xe: Rework eviction rejection of bound external bos




More information about the Intel-xe mailing list