[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Explicit MCR handling and MTL steering (rev4)

Patchwork patchwork at emeril.freedesktop.org
Fri Oct 14 23:20:58 UTC 2022


== Series Details ==

Series: Explicit MCR handling and MTL steering (rev4)
URL   : https://patchwork.freedesktop.org/series/108755/
State : warning

== Summary ==

Error: dim checkpatch failed
830513957fa8 drm/i915/gen8: Create separate reg definitions for new MCR registers
dbdc6927367f drm/i915/xehp: Create separate reg definitions for new MCR registers
3dc14e728503 drm/i915/gt: Drop a few unused register definitions
23576fa94370 drm/i915/gt: Correct prefix on a few registers
26cd8977db65 drm/i915/gt: Add intel_gt_mcr_multicast_rmw() operation
750673516e25 drm/i915/xehp: Check for faults on primary GAM
315399c32fbf drm/i915/gt: Add intel_gt_mcr_wait_for_reg_fw()
4efa7eccaba8 drm/i915: Define MCR registers explicitly
bb995162272b drm/i915/gt: Always use MCR functions on multicast registers
009ddebe2fbc drm/i915/guc: Handle save/restore of MCR registers explicitly
b1e0f17688ac drm/i915/gt: Add MCR-specific workaround initializers
32570329efe2 drm/i915: Define multicast registers as a new type
-:615: WARNING:NEW_TYPEDEFS: do not add new typedefs
#615: FILE: drivers/gpu/drm/i915/i915_reg_defs.h:107:
+typedef struct {

-:634: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'r' - possible side-effects?
#634: FILE: drivers/gpu/drm/i915/i915_reg_defs.h:118:
+#define i915_mmio_reg_offset(r) \
+	_Generic((r), i915_reg_t: (r).reg, i915_mcr_reg_t: (r).reg)

-:635: ERROR:SPACING: spaces required around that ':' (ctx:VxW)
#635: FILE: drivers/gpu/drm/i915/i915_reg_defs.h:119:
+	_Generic((r), i915_reg_t: (r).reg, i915_mcr_reg_t: (r).reg)
 	                        ^

-:635: ERROR:SPACING: spaces required around that ':' (ctx:VxW)
#635: FILE: drivers/gpu/drm/i915/i915_reg_defs.h:119:
+	_Generic((r), i915_reg_t: (r).reg, i915_mcr_reg_t: (r).reg)
 	                                                 ^

-:635: CHECK:CAMELCASE: Avoid CamelCase: <_Generic>
#635: FILE: drivers/gpu/drm/i915/i915_reg_defs.h:119:
+	_Generic((r), i915_reg_t: (r).reg, i915_mcr_reg_t: (r).reg)

total: 2 errors, 1 warnings, 2 checks, 513 lines checked
93791388dccc drm/i915/xelpg: Add multicast steering
290cda2037ae drm/i915/xelpmp: Add multicast steering for media GT




More information about the Intel-gfx mailing list