✗ Fi.CI.CHECKPATCH: warning for drm/i915 and drm/xe display and compat cleanups

Patchwork patchwork at emeril.freedesktop.org
Wed May 29 18:48:08 UTC 2024


== Series Details ==

Series: drm/i915 and drm/xe display and compat cleanups
URL   : https://patchwork.freedesktop.org/series/134198/
State : warning

== Summary ==

Error: dim checkpatch failed
55a5e0cbaba1 drm/i915/display: include gem/i915_gem_stolen.h where needed
-:26: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#26: 
rename from drivers/gpu/drm/xe/compat-i915-headers/i915_gem_stolen.h

total: 0 errors, 1 warnings, 0 checks, 14 lines checked
98e02863a998 drm/i915/display: include gt/intel_gt_types.h where needed
-:25: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#25: 
rename from drivers/gpu/drm/xe/compat-i915-headers/intel_gt_types.h

total: 0 errors, 1 warnings, 0 checks, 14 lines checked
627a4f404b96 drm/i915/display: include i915_gpu_error.h where needed
846b506a705b drm/i915/display: include intel_uncore.h where needed
1465cc65688b drm/i915/display: include intel_step.h where needed
9de79b63baa5 drm/i915/display: include xe_bo.h, gem_object_types etc. where needed
-:62: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#62: 
new file mode 100644

total: 0 errors, 1 warnings, 0 checks, 115 lines checked
d7fd085e5f7e drm/xe/display: move compat uncore stubs to the correct file
-:34: WARNING:MACRO_ARG_UNUSED: Argument 'x' is not used in function-like macro
#34: FILE: drivers/gpu/drm/xe/compat-i915-headers/intel_uncore.h:175:
+#define intel_uncore_forcewake_get(x, y) do { } while (0)

-:34: WARNING:MACRO_ARG_UNUSED: Argument 'y' is not used in function-like macro
#34: FILE: drivers/gpu/drm/xe/compat-i915-headers/intel_uncore.h:175:
+#define intel_uncore_forcewake_get(x, y) do { } while (0)

-:35: WARNING:MACRO_ARG_UNUSED: Argument 'x' is not used in function-like macro
#35: FILE: drivers/gpu/drm/xe/compat-i915-headers/intel_uncore.h:176:
+#define intel_uncore_forcewake_put(x, y) do { } while (0)

-:35: WARNING:MACRO_ARG_UNUSED: Argument 'y' is not used in function-like macro
#35: FILE: drivers/gpu/drm/xe/compat-i915-headers/intel_uncore.h:176:
+#define intel_uncore_forcewake_put(x, y) do { } while (0)

-:37: WARNING:MACRO_ARG_UNUSED: Argument 'x' is not used in function-like macro
#37: FILE: drivers/gpu/drm/xe/compat-i915-headers/intel_uncore.h:178:
+#define intel_uncore_arm_unclaimed_mmio_detection(x) do { } while (0)

total: 0 errors, 5 warnings, 0 checks, 20 lines checked
48bbc525042c drm/xe/display: move compat runtime pm stubs to the correct file
-:146: WARNING:MACRO_ARG_UNUSED: Argument 'x' is not used in function-like macro
#146: FILE: drivers/gpu/drm/xe/compat-i915-headers/intel_runtime_pm.h:60:
+#define assert_rpm_wakelock_held(x) do { } while (0)

-:147: WARNING:MACRO_ARG_UNUSED: Argument 'x' is not used in function-like macro
#147: FILE: drivers/gpu/drm/xe/compat-i915-headers/intel_runtime_pm.h:61:
+#define assert_rpm_raw_wakeref_held(x) do { } while (0)

-:149: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'rpm' - possible side-effects?
#149: FILE: drivers/gpu/drm/xe/compat-i915-headers/intel_runtime_pm.h:63:
+#define with_intel_runtime_pm(rpm, wf) \
+	for ((wf) = intel_runtime_pm_get(rpm); (wf); \
+	     intel_runtime_pm_put((rpm), (wf)), (wf) = 0)

-:149: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'wf' - possible side-effects?
#149: FILE: drivers/gpu/drm/xe/compat-i915-headers/intel_runtime_pm.h:63:
+#define with_intel_runtime_pm(rpm, wf) \
+	for ((wf) = intel_runtime_pm_get(rpm); (wf); \
+	     intel_runtime_pm_put((rpm), (wf)), (wf) = 0)

total: 0 errors, 2 warnings, 2 checks, 130 lines checked
e751dde19fa3 drm/xe/display: reduce includes in compat i915_drv.h
bdec1c4c63f3 drm/xe/display: drop i915_drv.h include from xe code
-:91: WARNING:LONG_LINE: line length of 102 exceeds 100 columns
#91: FILE: drivers/gpu/drm/xe/display/intel_fbdev_fb.c:49:
+			drm_info(&xe->drm, "Allocated fbdev into stolen failed: %li\n", PTR_ERR(obj));

-:96: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#96: FILE: drivers/gpu/drm/xe/display/intel_fbdev_fb.c:53:
+		obj = xe_bo_create_pin_map(xe, xe_device_get_root_tile(xe), NULL, size,
 					  ttm_bo_type_kernel, XE_BO_FLAG_SCANOUT |

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




More information about the Intel-gfx mailing list