[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Force 2*96 MHz cdclk on glk/cnl when audio power is enabled (rev3)

Patchwork patchwork at emeril.freedesktop.org
Tue Jun 12 07:28:48 UTC 2018


== Series Details ==

Series: drm/i915: Force 2*96 MHz cdclk on glk/cnl when audio power is enabled (rev3)
URL   : https://patchwork.freedesktop.org/series/42459/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
7e66d7400ee9 drm/i915: Force 2*96 MHz cdclk on glk/cnl when audio power is enabled
-:53: CHECK:SPACING: spaces preferred around that '<<' (ctx:VxV)
#53: FILE: drivers/gpu/drm/i915/i915_reg.h:8874:
+#define POWER_WELL_2_REQUEST		(1<<31)
                             		  ^

-:75: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#75: FILE: drivers/gpu/drm/i915/intel_audio.c:716:
+static void glk_force_audio_cdclk(struct drm_i915_private *dev_priv,
+				bool enable)

-:127: CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#127: FILE: drivers/gpu/drm/i915/intel_audio.c:767:
+		if (IS_CANNONLAKE(dev_priv) || IS_GEMINILAKE(dev_priv)) {
+

-:240: WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 25)
#240: FILE: drivers/gpu/drm/i915/intel_cdclk.c:2401:
 		if (IS_GEMINILAKE(dev_priv)) {
+			 cdclk = glk_calc_cdclk(intel_state->cdclk.force_min_cdclk);

total: 0 errors, 1 warnings, 3 checks, 249 lines checked



More information about the Intel-gfx mailing list