[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/color: fix broken display in icl+
Patchwork
patchwork at emeril.freedesktop.org
Tue Oct 1 06:56:28 UTC 2019
== 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
More information about the Intel-gfx
mailing list