✗ CI.checkpatch: warning for drm/xe/forcewake: add d elayed-release optimization (rev5)

Patchwork <[email protected]>
Newsgroups org.freedesktop.lists.intel-xe
Message-ID <178658000101.45878.3941640198989501329@61270ab9df2a>
== Series Details ==

Series: drm/xe/forcewake: add delayed-release optimization (rev5)
URL   : https://patchwork.freedesktop.org/series/167697/
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
061140b9bc586ae7f40abc1249c97e1cc72d1b9d
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 41fe5f0484cedabba39f47ff346d9290a8df708c
Author: Zongyao Bai <[email protected]>
Date:   Thu Aug 13 00:06:54 2026 +0000

    drm/xe/forcewake: enable configurable delayed forcewake release
    
    Enable delayed forcewake release for engine-cycle queries used by
    tools such as VTune and PTI. Bursts of queries can reuse an already
    awake domain, avoiding another wake request and ACK wait. Only
    engine-cycle queries request delayed release; all other forcewake users
    continue to request immediate release.
    
    Add the bind-time configfs forcewake_hold_delay_us attribute to control
    the hold interval. It defaults to 100 us and accepts values from 1 to
    U32_MAX microseconds. Runtime and system suspend cancel and settle
    outstanding delayed releases before power-off. Longer intervals trade
    higher power use for more opportunities to reuse an awake domain.
    
    Suggested-by: Matthew Brost <[email protected]>
    Assisted-by: GitHub-Copilot:gpt-5.6-sol
    Assisted-by: GitHub-Copilot:claude-opus-4.8
    Signed-off-by: Zongyao Bai <[email protected]>
+ /mt/dim checkpatch 707b81710802330f08e561e54d174f74abdb10e5 drm-intel
f7a1ee94feef drm/xe/forcewake: synchronize engine-cycle access with unplug
ee83ee075600 drm/xe/forcewake: add delayed-release state machine
-:372: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'done' - possible side-effects?
#372: FILE: drivers/gpu/drm/xe/xe_force_wake.h:118:
+#define __xe_with_force_wake_delay(ref, fw, domains, done) \
+	for (CLASS(xe_force_wake_delay, ref)(fw, domains), *(done) = NULL; \
+	     !(done); (done) = (void *)1)

total: 0 errors, 0 warnings, 1 checks, 383 lines checked
3487b5031ec3 drm/xe/forcewake: flush delayed release at power boundaries
41fe5f0484ce drm/xe/forcewake: enable configurable delayed forcewake release
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.