✓ CI.checkpatch: success for drm/xe: remove sysfs entries on driver unbind

Patchwork patchwork at emeril.freedesktop.org
Tue Apr 30 16:03:04 UTC 2024


== Series Details ==

Series: drm/xe: remove sysfs entries on driver unbind
URL   : https://patchwork.freedesktop.org/series/133080/
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
0daf0be5bb95eb0a0e42275e00a0e42d8d8fd543
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit e75e0f5f9e92e65921a3e614e53524d7f0fe93bb
Author: Andrzej Hajda <andrzej.hajda at intel.com>
Date:   Tue Apr 30 17:51:11 2024 +0200

    drm/xe: remove sysfs entries on driver unbind
    
    After unbinding driver from the device, driver is responsible for
    leaving the device in it's initial state, to be ready to bind to another
    driver or to rebind. Particularly device sysfs entries added by the driver
    should disappear. Removing them together with drm device is too late,
    as it's life-time can be prolonged by userspace keeping open drm
    descriptor. Removing them at driver's unbind seems the proper solution.
    
    Signed-off-by: Andrzej Hajda <andrzej.hajda at intel.com>
+ /mt/dim checkpatch 016b4f46551e7a9b3da9607e546b18df2ca31cbc drm-intel
e75e0f5f9e92 drm/xe: remove sysfs entries on driver unbind




More information about the Intel-xe mailing list