✗ CI.checkpatch: warning for drm/i915/dmc_wl: Introduce debugfs interface

Patchwork patchwork at emeril.freedesktop.org
Fri Jan 17 22:15:11 UTC 2025


== Series Details ==

Series: drm/i915/dmc_wl: Introduce debugfs interface
URL   : https://patchwork.freedesktop.org/series/143695/
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
30ab6715fc09baee6cc14cb3c89ad8858688d474
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 8f97b80ac65525f29524b7635330abc6e9e58ccf
Author: Gustavo Sousa <gustavo.sousa at intel.com>
Date:   Fri Jan 17 19:06:55 2025 -0300

    drm/i915/dmc_wl: Enable the debugfs only with enable_dmc_wl_debugfs=1
    
    We use a spinlock to protect DMC wakelock debugfs data, since it is also
    accessed by the core DMC wakelock logic. Taking the spinlock when the
    debugfs is not in use introduces a small but unnecessary penalty.
    
    Since the debugfs functionality is only expected to be used for, uh,
    debugging sessions, let's protect it behind a module parameter
    enable_dmc_wl_debugfs. That way, we only take the lock if the feature
    was enabled in the first place.
    
    Signed-off-by: Gustavo Sousa <gustavo.sousa at intel.com>
+ /mt/dim checkpatch 4fc988de9f5e17d19edb5fc0a0fbc15a8fc837f4 drm-intel
e695cd7c6aa7 drm/i915/dmc_wl: Pass offset instead of reg to range table iterator
967f0c2eefea drm/i915/dmc_wl: Add debugfs for untracked offsets
-:106: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#106: 
new file mode 100644

total: 0 errors, 1 warnings, 0 checks, 340 lines checked
1de8ab53cc6c drm/i915/dmc_wl: Add extra_ranges debugfs
8f97b80ac655 drm/i915/dmc_wl: Enable the debugfs only with enable_dmc_wl_debugfs=1
-:27: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#27: FILE: drivers/gpu/drm/i915/display/intel_display_params.c:137:
+intel_display_param_named_unsafe(enable_dmc_wl_debugfs, bool, 0400,
+	"Enable DMC wakelock debugfs"

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




More information about the Intel-xe mailing list