✗ Fi.CI.CHECKPATCH: warning for drm/i915/dp: Increase idle pattern wait timeout to 2ms

Patchwork patchwork at emeril.freedesktop.org
Mon Mar 4 04:29:02 UTC 2024


== Series Details ==

Series: drm/i915/dp: Increase idle pattern wait timeout to 2ms
URL   : https://patchwork.freedesktop.org/series/130643/
State : warning

== Summary ==

Error: dim checkpatch failed
aee3aa2feba0 drm/i915/dp: Increase idle pattern wait timeout to 2ms
-:27: ERROR:SPACING: space required before the open parenthesis '('
#27: FILE: drivers/gpu/drm/i915/display/intel_ddi.c:3681:
+	if(DISPLAY_VER(dev_priv) >= 20) {

-:28: WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 16)
#28: FILE: drivers/gpu/drm/i915/display/intel_ddi.c:3682:
+		if (intel_de_wait_for_set(dev_priv,
[...]
+		drm_err(&dev_priv->drm,

-:29: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#29: FILE: drivers/gpu/drm/i915/display/intel_ddi.c:3683:
+		if (intel_de_wait_for_set(dev_priv,
+				  dp_tp_status_reg(encoder, crtc_state),

-:34: ERROR:ELSE_AFTER_BRACE: else should follow close brace '}'
#34: FILE: drivers/gpu/drm/i915/display/intel_ddi.c:3688:
+	}
+	else {

-:34: CHECK:BRACES: Unbalanced braces around else statement
#34: FILE: drivers/gpu/drm/i915/display/intel_ddi.c:3688:
+	else {

-:35: WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 16)
#35: FILE: drivers/gpu/drm/i915/display/intel_ddi.c:3689:
+		if (intel_de_wait_for_set(dev_priv,
[...]
 		drm_err(&dev_priv->drm,

-:36: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#36: FILE: drivers/gpu/drm/i915/display/intel_ddi.c:3690:
+		if (intel_de_wait_for_set(dev_priv,
 				  dp_tp_status_reg(encoder, crtc_state),

total: 2 errors, 2 warnings, 3 checks, 22 lines checked




More information about the Intel-gfx mailing list