[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/icl: Enable SSC for ICL using panel_use_ssc

Patchwork patchwork at emeril.freedesktop.org
Wed Jun 5 22:48:52 UTC 2019


== Series Details ==

Series: drm/i915/icl: Enable SSC for ICL using panel_use_ssc
URL   : https://patchwork.freedesktop.org/series/61692/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
2bbb59c67ab3 drm/i915/icl: Enable SSC for ICL using panel_use_ssc
-:44: WARNING:BRACES: braces {} are not necessary for single statement blocks
#44: FILE: drivers/gpu/drm/i915/intel_dpll_mgr.c:2530:
+	if (intel_panel_use_ssc(dev_priv)) {
+		cfgcr0 |= DPLL_CFGCR0_SSC_ENABLE_ICL;
+	}

-:59: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#59: FILE: drivers/gpu/drm/i915/intel_drv.h:1505:
 }
+static inline bool

-:65: CHECK:LOGICAL_CONTINUATIONS: Logical continuations should be on the previous line
#65: FILE: drivers/gpu/drm/i915/intel_drv.h:1511:
+	return dev_priv->vbt.lvds_use_ssc
+		&& !(dev_priv->quirks & QUIRK_LVDS_SSC_DISABLE);

total: 0 errors, 1 warnings, 2 checks, 38 lines checked



More information about the Intel-gfx mailing list