✗ CI.checkpatch: warning for series starting with [1/2] drm/i915: remove IS_LP()

Patchwork patchwork at emeril.freedesktop.org
Wed Sep 18 17:52:10 UTC 2024


== Series Details ==

Series: series starting with [1/2] drm/i915: remove IS_LP()
URL   : https://patchwork.freedesktop.org/series/138831/
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
c62d7e164862503a3662a095da1c6c9014248cb2
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit a76140bc80c7fd679b2e7a991f54984d0b231fd9
Author: Jani Nikula <jani.nikula at intel.com>
Date:   Wed Sep 18 17:50:42 2024 +0300

    drm/i915/soc: stop using IS_GEN9_LP() and IS_GEN9_BC()
    
    Replace IS_GEN9_LP() and IS_GEN9_BC() with direct platform checks. This
    lets us remove their compat counterparts, as neither soc/ nor /display
    now no longer needs them.
    
    Signed-off-by: Jani Nikula <jani.nikula at intel.com>
+ /mt/dim checkpatch 15aeb2cced25e1bfa15f1aa538247d79cf8b0a05 drm-intel
d9a9479e414e drm/i915: remove IS_LP()
-:26: WARNING:LONG_LINE: line length of 109 exceeds 100 columns
#26: FILE: drivers/gpu/drm/i915/display/intel_display_device.h:153:
+#define HAS_SAGV(i915)			(DISPLAY_VER(i915) >= 9 && !IS_BROXTON(i915) && !IS_GEMINILAKE(i915))

-:26: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'i915' - possible side-effects?
#26: FILE: drivers/gpu/drm/i915/display/intel_display_device.h:153:
+#define HAS_SAGV(i915)			(DISPLAY_VER(i915) >= 9 && !IS_BROXTON(i915) && !IS_GEMINILAKE(i915))

-:90: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'i915' - possible side-effects?
#90: FILE: drivers/gpu/drm/i915/i915_drv.h:615:
+#define IS_GEN9_LP(i915)	(IS_BROXTON(i915) || IS_GEMINILAKE(i915))

-:91: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'i915' - possible side-effects?
#91: FILE: drivers/gpu/drm/i915/i915_drv.h:616:
+#define IS_GEN9_BC(i915)	(GRAPHICS_VER(i915) == 9 && !IS_GEN9_LP(i915))

total: 0 errors, 1 warnings, 3 checks, 88 lines checked
a76140bc80c7 drm/i915/soc: stop using IS_GEN9_LP() and IS_GEN9_BC()




More information about the Intel-xe mailing list