[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for adding gamma state checker for icl+ platforms (rev3)

Patchwork patchwork at emeril.freedesktop.org
Thu Sep 19 20:55:17 UTC 2019


== Series Details ==

Series: adding gamma state checker for icl+ platforms (rev3)
URL   : https://patchwork.freedesktop.org/series/66811/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
f22d03d7e022 drm/i915/color: Fix formatting issues
9f36da572c33 drm/i915/color: Extract icl_read_luts()
-:20: WARNING:TYPO_SPELLING: 'overrided' may be misspelled - perhaps 'overridden'?
#20: 
   instead of 0, since actual h/w values started getting overrided.

-:105: CHECK:BRACES: Blank lines aren't necessary before a close brace '}'
#105: FILE: drivers/gpu/drm/i915/display/intel_color.c:1451:
+
+}

-:294: WARNING:LONG_LINE: line over 100 characters
#294: FILE: drivers/gpu/drm/i915/display/intel_color.c:1891:
+		blob_data[i * 8].green = REG_FIELD_GET(PAL_PREC_MULTI_SEG_GREEN_UDW_MASK, val2) << 6 |

-:304: WARNING:LONG_LINE: line over 100 characters
#304: FILE: drivers/gpu/drm/i915/display/intel_color.c:1901:
+		blob_data[i * 8 * 128].red = REG_FIELD_GET(PAL_PREC_MULTI_SEG_RED_UDW_MASK, val2) << 6 |

-:306: WARNING:LONG_LINE: line over 100 characters
#306: FILE: drivers/gpu/drm/i915/display/intel_color.c:1903:
+		blob_data[i * 8 * 128].green = REG_FIELD_GET(PAL_PREC_MULTI_SEG_GREEN_UDW_MASK, val2) << 6 |

-:307: WARNING:LONG_LINE: line over 100 characters
#307: FILE: drivers/gpu/drm/i915/display/intel_color.c:1904:
+					       REG_FIELD_GET(PAL_PREC_MULTI_SEG_GREEN_LDW_MASK, val1);

-:308: WARNING:LONG_LINE: line over 100 characters
#308: FILE: drivers/gpu/drm/i915/display/intel_color.c:1905:
+		blob_data[i * 8 * 128].blue = REG_FIELD_GET(PAL_PREC_MULTI_SEG_BLUE_UDW_MASK, val2) << 6 |

total: 0 errors, 6 warnings, 1 checks, 312 lines checked
9f1eb7e98ab1 FOR_TESTING_ONLY: Print rgb values of hw and sw blobs
-:18: WARNING:LONG_LINE: line over 100 characters
#18: FILE: drivers/gpu/drm/i915/display/intel_color.c:1478:
+	DRM_DEBUG_KMS("hw_lut->red=0x%x sw_lut->red=0x%x hw_lut->blue=0x%x sw_lut->blue=0x%x hw_lut->green=0x%x sw_lut->green=0x%x", lut2->red, lut1->red, lut2->blue, lut1->blue, lut2->green, lut1->green);

total: 0 errors, 1 warnings, 0 checks, 8 lines checked



More information about the Intel-gfx mailing list