✓ CI.checkpatch: success for drm/xe: Fix the hotunplug NULL ptr dereference

Patchwork patchwork at emeril.freedesktop.org
Fri Feb 28 07:30:59 UTC 2025


== Series Details ==

Series: drm/xe: Fix the hotunplug NULL ptr dereference
URL   : https://patchwork.freedesktop.org/series/145615/
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
22f9cda3436b4fe965b5c5f31d2f2c1bcb483189
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit ebe392042cb2cfa5456c932a9cd118f6795c723f
Author: Aradhya Bhatia <aradhya.bhatia at intel.com>
Date:   Fri Feb 28 06:52:24 2025 +0000

    drm/xe_device: Evict all the VRAM objects during device remove
    
    Now that xe's migrate subsystem is dev managed, instead of drm managed,
    evict all the VRAM objects during the xe device remove.
    
    The VRAM and TTM resource manager are drm managed, and so they are
    destroyed when all the references to DRM are put. When that happens, the
    VRAM and TTM resource managers evict all the BOs before their
    destruction. Since the migrate subsystem will already be finished by
    that point, the resource managers won't be able to evict the BOs
    successfully.
    Change that by preemptively evicting all the VRAM BOs during xe device
    remove.
    
    Signed-off-by: Aradhya Bhatia <aradhya.bhatia at intel.com>
+ /mt/dim checkpatch 873b1a50bb4394e95332cfa611aa6463de6b7cb0 drm-intel
1abe55b00d66 drm/xe_migrate: Switch from drm to dev managed actions
ebe392042cb2 drm/xe_device: Evict all the VRAM objects during device remove




More information about the Intel-xe mailing list