[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/3] drm/i915/adlp: Require DPT FB CCS color planes to be 2MB aligned

Patchwork patchwork at emeril.freedesktop.org
Mon May 24 18:43:50 UTC 2021


== Series Details ==

Series: series starting with [1/3] drm/i915/adlp: Require DPT FB CCS color planes to be 2MB aligned
URL   : https://patchwork.freedesktop.org/series/90484/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
67ae62f3578a drm/i915/adlp: Require DPT FB CCS color planes to be 2MB aligned
ab61802fef7d drm/i915/adlp: Fix GEM VM asserts for DPT VMs
-:27: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'vm' - possible side-effects?
#27: FILE: drivers/gpu/drm/i915/gt/intel_gtt.h:362:
+#define i915_is_ggtt_or_dpt(vm) (i915_is_ggtt(vm) || i915_is_dpt(vm))

total: 0 errors, 0 warnings, 1 checks, 31 lines checked
5e4ab79a1296 drm/i915/debugfs: Print remap info for DPT VMAs as well
-:28: WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 15)
#28: FILE: drivers/gpu/drm/i915/i915_debugfs.c:129:
+	if (i915_vma_is_ggtt(vma))
+	       return "ggtt";

-:29: WARNING:TABSTOP: Statements should start on a tabstop
#29: FILE: drivers/gpu/drm/i915/i915_debugfs.c:130:
+	       return "ggtt";

total: 0 errors, 2 warnings, 0 checks, 42 lines checked




More information about the Intel-gfx mailing list