[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: start splitting off runtime device info

Patchwork patchwork at emeril.freedesktop.org
Mon Dec 31 15:07:00 UTC 2018


== Series Details ==

Series: drm/i915: start splitting off runtime device info
URL   : https://patchwork.freedesktop.org/series/54589/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
0973736519c3 drm/i915: start moving runtime device info to a separate struct
-:565: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'p' - possible side-effects?
#565: FILE: drivers/gpu/drm/i915/intel_display.h:124:
+#define sprite_name(p, s) ((p) * RUNTIME_INFO(dev_priv)->num_sprites[(p)] + (s) + 'A')

total: 0 errors, 0 warnings, 1 checks, 648 lines checked
fb252e952052 drm/i915/reg: abstract display_mmio_offset access
f8478d51f1f6 drm/i915: pass dev_priv to intel_device_info_runtime_init()
90a4d812a923 drm/i915: always use INTEL_INFO() to access device info
-:280: WARNING:LONG_LINE: line over 100 characters
#280: FILE: drivers/gpu/drm/i915/i915_reg.h:192:
+					      INTEL_INFO(dev_priv)->trans_offsets[TRANSCODER_A] + (reg) + \

-:285: WARNING:LONG_LINE: line over 100 characters
#285: FILE: drivers/gpu/drm/i915/i915_reg.h:195:
+					      INTEL_INFO(dev_priv)->cursor_offsets[PIPE_A] + (reg) + \

total: 0 errors, 2 warnings, 0 checks, 258 lines checked
0e6d7586940e drm/i915: drop intel_device_info_dump()
a8ce6166b2c2 drm/i915: rename dev_priv info to __info to avoid usage



More information about the Intel-gfx mailing list