✗ CI.checkpatch: warning for Enable GuC opt-in features
Patchwork
patchwork at emeril.freedesktop.org
Wed Jun 4 00:33:16 UTC 2025
== Series Details ==
Series: Enable GuC opt-in features
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
202708c00696422fd217223bb679a353a5936e23
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 2b9d89c114783fac8d868b9e6b61416d2538eadf
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>
+ /mt/dim checkpatch 2d51392d455943d0356d982902ce994f91996d3e drm-intel
167021a5a563 drm/xe/guc: Enable extended CAT error reporting
-:120: WARNING:LINE_SPACING: Missing a blank line after declarations
#120: 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
2b9d89c11478 drm/xe/guc: Enable the Dynamic Inhibit Context Switch optimization
-:97: CHECK:LINE_SPACING: Please don't use multiple blank lines
#97: 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