✗ Fi.CI.CHECKPATCH: warning for drm/i915/color: fix broken display in icl+

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



== Series Details ==

Series: drm/i915/color: fix broken display in icl+
URL   : https://patchwork.freedesktop.org/series/67429/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
5d9d27e6eccf drm/i915/color: fix broken display in icl+
-:31: WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 24)
#31: FILE: drivers/gpu/drm/i915/display/intel_display.c:10531:
+	if ((INTEL_GEN(dev_priv) >= 11 && (pipe_config->gamma_mode & POST_CSC_GAMMA_ENABLE)) ||
[...]
+			intel_color_get_config(pipe_config);

-:31: CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'pipe_config->gamma_enable'
#31: FILE: drivers/gpu/drm/i915/display/intel_display.c:10531:
+	if ((INTEL_GEN(dev_priv) >= 11 && (pipe_config->gamma_mode & POST_CSC_GAMMA_ENABLE)) ||
+	   (INTEL_GEN(dev_priv) >= 9 && (pipe_config->gamma_enable)))

-:32: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#32: FILE: drivers/gpu/drm/i915/display/intel_display.c:10532:
+	if ((INTEL_GEN(dev_priv) >= 11 && (pipe_config->gamma_mode & POST_CSC_GAMMA_ENABLE)) ||
+	   (INTEL_GEN(dev_priv) >= 9 && (pipe_config->gamma_enable)))

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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux