✗ CI.checkpatch: warning for drm/i915/display: add display specific runtime PM interface (rev2)

Patchwork patchwork at emeril.freedesktop.org
Thu Mar 20 15:41:14 UTC 2025


== Series Details ==

Series: drm/i915/display: add display specific runtime PM interface (rev2)
URL   : https://patchwork.freedesktop.org/series/146133/
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
cbb4e4a079d89106c2736adc3c7de6f9dc56da07
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 7f857a0b34e27cdb1d185919eb6b7ac60a4112fd
Author: Jani Nikula <jani.nikula at intel.com>
Date:   Thu Mar 20 17:04:00 2025 +0200

    drm/xe/compat: remove intel_runtime_pm.h
    
    Now that all display code has been converted to display specific runtime
    PM interfaces, there's no need for the compat header anymore.
    
    Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
    Signed-off-by: Jani Nikula <jani.nikula at intel.com>
+ /mt/dim checkpatch 4b4b30b32b4d8a7e6f48c0e9dd8fc29aecd39b11 drm-intel
d64d0390acbc drm/i915/display: add display specific runtime PM wrappers
-:29: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#29: 
new file mode 100644

-:122: CHECK:MACRO_ARG_REUSE: Macro argument reuse '__display' - possible side-effects?
#122: FILE: drivers/gpu/drm/i915/display/intel_display_rpm.h:15:
+#define __with_intel_display_rpm(__display, __wakeref) \
+	for (struct ref_tracker *(__wakeref) = intel_display_rpm_get(__display); (__wakeref); \
+	     intel_display_rpm_put((__display), (__wakeref)), (__wakeref) = NULL)

-:122: CHECK:MACRO_ARG_REUSE: Macro argument reuse '__wakeref' - possible side-effects?
#122: FILE: drivers/gpu/drm/i915/display/intel_display_rpm.h:15:
+#define __with_intel_display_rpm(__display, __wakeref) \
+	for (struct ref_tracker *(__wakeref) = intel_display_rpm_get(__display); (__wakeref); \
+	     intel_display_rpm_put((__display), (__wakeref)), (__wakeref) = NULL)

total: 0 errors, 1 warnings, 2 checks, 190 lines checked
f491e34844e3 drm/i915/display: conversions to with_intel_display_rpm()
4fbfdcc43aeb drm/i915/display: use display runtime PM interfaces for for atomic state
063c09f69e29 drm/i915/display: convert to display runtime PM interfaces
47c4f3193dad drm/i915/power: convert to display runtime PM interfaces
7f857a0b34e2 drm/xe/compat: remove intel_runtime_pm.h
-:25: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#25: 
deleted file mode 100644

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




More information about the Intel-xe mailing list