✗ CI.checkpatch: warning for Enable GuC opt-in features (rev3)

Patchwork patchwork at emeril.freedesktop.org
Tue Jun 17 21:46:10 UTC 2025


== Series Details ==

Series: Enable GuC opt-in features (rev3)
URL   : https://patchwork.freedesktop.org/series/149815/
State : warning

== 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
f8ff75ae1d2127635239b134695774ed4045d05b
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 2c1f556b1f487c732e5f56321fce8a4149ef8907
Author: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
Date:   Tue Jun 3 17:24:57 2025 -0700

    drm/xe/guc: Enable the Dynamic Inhibit Context Switch optimization
    
    The Dynamic Inhibit Context Switch is an optimization aimed at reducing
    the amount of time the HW is stuck waiting on an unsatisfied semaphore.
    When this optimization is enabled, the GuC will dynamically modify the
    CTX_CTRL_INHIBIT_SYN_CTX_SWITCH in the CTX_CONTEXT_CONTROL register of
    LRCs to enable immediate switching out on an unsatisfied semaphore wait
    when multiple contexts are competing for time on the same engine.
    
    This feature is available on recent HW from GuC 70.40.1 onwards and it
    is enabled via a per-VF feature opt-in.
    
    v2: rebase
    v3: switch to using guc_buf_cache instead of dedicated alloc
    v4: add helper to check for feature availability (Michal), don't enable
    if multi-lrc is possible.
    
    Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
    Cc: John Harrison <John.C.Harrison at Intel.com>
    Cc: Julia Filipchuk <julia.filipchuk at intel.com>
    Cc: Michal Wajdeczko <michal.wajdeczko at intel.com>
    Reviewed-by: John Harrison <John.C.Harrison at Intel.com>
+ /mt/dim checkpatch c85b21c23c1a119cdd02b809e8f7d5562b461937 drm-intel
85326359f3ec drm/xe/guc: Enable extended CAT error reporting
-:121: WARNING:LINE_SPACING: Missing a blank line after declarations
#121: FILE: drivers/gpu/drm/xe/xe_guc.c:590:
+	struct xe_device *xe = guc_to_xe(guc);
+	CLASS(xe_guc_buf, buf)(&guc->buf, OPT_IN_MAX_DWORDS);

total: 0 errors, 1 warnings, 0 checks, 165 lines checked
2c1f556b1f48 drm/xe/guc: Enable the Dynamic Inhibit Context Switch optimization
-:98: CHECK:LINE_SPACING: Please don't use multiple blank lines
#98: FILE: drivers/gpu/drm/xe/xe_guc.c:636:
 
+

total: 0 errors, 0 warnings, 1 checks, 66 lines checked




More information about the Intel-xe mailing list