[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Enable Tile4 tiling mode

Patchwork patchwork at emeril.freedesktop.org
Wed May 11 17:04:24 UTC 2022


== Series Details ==

Series: drm/i915: Enable Tile4 tiling mode
URL   : https://patchwork.freedesktop.org/series/103881/
State : warning

== Summary ==

Error: dim checkpatch failed
aafe76362d88 drm/i915: Enable Tile4 tiling mode
-:360: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'idx' may be better as '(idx)' to avoid precedence issues
#360: FILE: drivers/gpu/drm/i915/gt/intel_gpu_commands.h:256:
+#define BLIT_CCTL_SRC_MOCS(idx) \
+	REG_FIELD_PREP(BLIT_CCTL_SRC_MOCS_MASK, idx << 1)

-:362: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'idx' may be better as '(idx)' to avoid precedence issues
#362: FILE: drivers/gpu/drm/i915/gt/intel_gpu_commands.h:258:
+#define BLIT_CCTL_DST_MOCS(idx) \
+	REG_FIELD_PREP(BLIT_CCTL_DST_MOCS_MASK, idx << 1)

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




More information about the Intel-gfx mailing list