✓ CI.checkpatch: success for drm/xe/guc: Make creation of SLPC debugfs files conditional (rev2)

Patchwork patchwork at emeril.freedesktop.org
Fri May 16 14:45:59 UTC 2025


== Series Details ==

Series: drm/xe/guc: Make creation of SLPC debugfs files conditional (rev2)
URL   : https://patchwork.freedesktop.org/series/149064/
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 d53d89f37c733e759c24367cb687fde1d1d6a5d2
Author: Aradhya Bhatia <aradhya.bhatia at intel.com>
Date:   Fri May 16 14:19:02 2025 +0000

    drm/xe/guc: Make creation of SLPC debugfs files conditional
    
    Platforms that do not support SLPC are exempted from the GuC PC support.
    The GuC PC does not get initialized, and neither do its BOs get created.
    
    This causes a problem because the GuC PC debugfs file is still being
    created. Whenever the file is attempted to read, it causes a NULL
    pointer dereference on the supposed BO of the GuC PC.
    
    So, make the creation of SLPC debugfs files conditional to when SLPC
    features are supported.
    
    Fixes: aaab5404b16f ("drm/xe: Introduce GuC PC debugfs")
    Suggested-by: Matt Roper <matthew.d.roper at intel.com>
    Reviewed-by: Tejas Upadhyay <tejas.upadhyay at intel.com>
    Reviewed-by: Stuart Summers <stuart.summers at intel.com>
    Signed-off-by: Aradhya Bhatia <aradhya.bhatia at intel.com>
+ /mt/dim checkpatch d92ef94d0cf251e79cb570b101645c457ebf764c drm-intel
d53d89f37c73 drm/xe/guc: Make creation of SLPC debugfs files conditional




More information about the Intel-xe mailing list