[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Refactor and Add helper function for combophy/tc ports

Patchwork patchwork at emeril.freedesktop.org
Wed Oct 3 07:35:55 UTC 2018


== Series Details ==

Series: Refactor and Add helper function for combophy/tc ports
URL   : https://patchwork.freedesktop.org/series/50484/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
4591313167c8 drm/i915/icl: create function to identify combophy port
b95d617455a9 drm/i915/icl: use combophy/TC helper functions during display detection
4e37b5e76bdf drm/i915/icl: Refactor get_ddi_pll using helper func
ba3df9087f61 drm/i915/icl: Use helper functions to classify the ports
d0c90e3f03a0 drm/i915/icl: Refactor icl pll functions
be5ebfc35a53 drm/i915/icl: Combine all port/combophy macros at one place
4b77c0de33ec drm/i915/icl: Introduce new macros to get combophy registers
bc98520b291a drm/i915/icl: Fix DDI/TC port clk_off bits
-:23: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'tc_port' - possible side-effects?
#23: FILE: drivers/gpu/drm/i915/i915_reg.h:9308:
+#define  ICL_DPCLKA_CFGCR0_TC_CLK_OFF(tc_port) (1 << ((tc_port) == PORT_TC4 ? \
+						      21 : (tc_port) + 12))

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



More information about the Intel-gfx mailing list