✓ CI.checkpatch: success for drm/xe/pxp: Fail the load if PXP fails to initialize

Patchwork patchwork at emeril.freedesktop.org
Tue Feb 4 00:00:37 UTC 2025


== Series Details ==

Series: drm/xe/pxp: Fail the load if PXP fails to initialize
URL   : https://patchwork.freedesktop.org/series/144280/
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
30ab6715fc09baee6cc14cb3c89ad8858688d474
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit d6a7ee579a02578ae117d777e5f9ba6070f41cfb
Author: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
Date:   Mon Feb 3 15:48:57 2025 -0800

    drm/xe/pxp: Fail the load if PXP fails to initialize
    
    The PXP implementation mimics the i915 approach of allowing the load
    to continue even if PXP init has failed. On Xe however we're taking an
    harder stance on boot error and only allowing the load to complete if
    everything is working, so update the code to fail if anything goes wrong
    during PXP init.
    
    While at it, update the return code in case of PXP not supported to be 0
    instead of EOPNOTSUPP, to follow the standard of functions called by
    xe_device_probe where every non-zero value means failure.
    
    Suggested-by: Lucas De Marchi <lucas.demarchi at intel.com>
    Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
    Cc: Lucas De Marchi <lucas.demarchi at intel.com>
    Cc: John Harrison <John.C.Harrison at Intel.com>
+ /mt/dim checkpatch e300f8946bc0ce873e4c4bc1a2cd05e7b617b1db drm-intel
d6a7ee579a02 drm/xe/pxp: Fail the load if PXP fails to initialize




More information about the Intel-xe mailing list