== Series Details == Series: Add Multi Segment Gamma Support (rev3) URL : https://patchwork.freedesktop.org/series/58169/ State : warning == Summary == $ dim checkpatch origin/drm-tip d60e638b9241 drm: Add gamma mode property 938ac10de262 drm/i915: Define color lut range structure -:28: ERROR:CODE_INDENT: code indent should use tabs where possible #28: FILE: drivers/gpu/drm/i915/intel_color.c:388: + /*$ -:29: ERROR:CODE_INDENT: code indent should use tabs where possible #29: FILE: drivers/gpu/drm/i915/intel_color.c:389: + * Bspec:$ -:30: ERROR:CODE_INDENT: code indent should use tabs where possible #30: FILE: drivers/gpu/drm/i915/intel_color.c:390: + " "NOTE: The 8-bit (non-10-bit) mode is the only$ -:31: ERROR:CODE_INDENT: code indent should use tabs where possible #31: FILE: drivers/gpu/drm/i915/intel_color.c:391: + * mode supported by BrookDale-G and Springdale-G."$ -:32: ERROR:CODE_INDENT: code indent should use tabs where possible #32: FILE: drivers/gpu/drm/i915/intel_color.c:392: + * and$ -:33: ERROR:CODE_INDENT: code indent should use tabs where possible #33: FILE: drivers/gpu/drm/i915/intel_color.c:393: + * "NOTE: The 8-bit (non-10-bit) mode is the only$ -:34: ERROR:CODE_INDENT: code indent should use tabs where possible #34: FILE: drivers/gpu/drm/i915/intel_color.c:394: + * mode supported by Alviso and Grantsdale."$ -:35: ERROR:CODE_INDENT: code indent should use tabs where possible #35: FILE: drivers/gpu/drm/i915/intel_color.c:395: + */$ -:36: ERROR:CODE_INDENT: code indent should use tabs where possible #36: FILE: drivers/gpu/drm/i915/intel_color.c:396: + return !IS_I845G(dev_priv) && !IS_I865G(dev_priv) &&$ -:36: WARNING:LEADING_SPACE: please, no spaces at the start of a line #36: FILE: drivers/gpu/drm/i915/intel_color.c:396: + return !IS_I845G(dev_priv) && !IS_I865G(dev_priv) &&$ -:37: ERROR:CODE_INDENT: code indent should use tabs where possible #37: FILE: drivers/gpu/drm/i915/intel_color.c:397: + !IS_I915G(dev_priv) && !IS_I915GM(dev_priv);$ -:37: WARNING:LEADING_SPACE: please, no spaces at the start of a line #37: FILE: drivers/gpu/drm/i915/intel_color.c:397: + !IS_I915G(dev_priv) && !IS_I915GM(dev_priv);$ -:85: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #85: FILE: drivers/gpu/drm/i915/intel_color.c:1276: +#define I965_GAMMA_10 \ + { \ + .flags = (DRM_MODE_LUT_GAMMA | \ + DRM_MODE_LUT_INTERPOLATE | \ + DRM_MODE_LUT_NON_DECREASING), \ + .count = 128, \ + .input_bpc = 10, .output_bpc = 16, \ + .start = 0, .end = (1 << 10) - (1 << 10) / 128, \ + .min = 0, .max = (1 << 16) - 1, \ + }, \ + /* PIPEGCMAX */ \ + { \ + .flags = (DRM_MODE_LUT_GAMMA | \ + DRM_MODE_LUT_INTERPOLATE | \ + DRM_MODE_LUT_REUSE_LAST | \ + DRM_MODE_LUT_NON_DECREASING), \ + .count = 1, \ + .input_bpc = 10, .output_bpc = 16, \ + .start = (1 << 10) - (1 << 10) / 128, .end = 1 << 10, \ + .min = 0, .max = 1 << 16, \ + } -:112: ERROR:CODE_INDENT: code indent should use tabs where possible #112: FILE: drivers/gpu/drm/i915/intel_color.c:1303: + { \$ -:112: WARNING:LEADING_SPACE: please, no spaces at the start of a line #112: FILE: drivers/gpu/drm/i915/intel_color.c:1303: + { \$ -:113: ERROR:CODE_INDENT: code indent should use tabs where possible #113: FILE: drivers/gpu/drm/i915/intel_color.c:1304: + .flags = (DRM_MODE_LUT_DEGAMMA | \$ -:113: WARNING:LEADING_SPACE: please, no spaces at the start of a line #113: FILE: drivers/gpu/drm/i915/intel_color.c:1304: + .flags = (DRM_MODE_LUT_DEGAMMA | \$ -:114: ERROR:CODE_INDENT: code indent should use tabs where possible #114: FILE: drivers/gpu/drm/i915/intel_color.c:1305: + DRM_MODE_LUT_INTERPOLATE | \$ -:114: WARNING:LEADING_SPACE: please, no spaces at the start of a line #114: FILE: drivers/gpu/drm/i915/intel_color.c:1305: + DRM_MODE_LUT_INTERPOLATE | \$ -:115: ERROR:CODE_INDENT: code indent should use tabs where possible #115: FILE: drivers/gpu/drm/i915/intel_color.c:1306: + DRM_MODE_LUT_NON_DECREASING), \$ -:115: WARNING:LEADING_SPACE: please, no spaces at the start of a line #115: FILE: drivers/gpu/drm/i915/intel_color.c:1306: + DRM_MODE_LUT_NON_DECREASING), \$ -:116: ERROR:CODE_INDENT: code indent should use tabs where possible #116: FILE: drivers/gpu/drm/i915/intel_color.c:1307: + .count = 65, \$ -:116: WARNING:LEADING_SPACE: please, no spaces at the start of a line #116: FILE: drivers/gpu/drm/i915/intel_color.c:1307: + .count = 65, \$ -:117: ERROR:CODE_INDENT: code indent should use tabs where possible #117: FILE: drivers/gpu/drm/i915/intel_color.c:1308: + .input_bpc = 10, .output_bpc = 14, \$ -:117: WARNING:LEADING_SPACE: please, no spaces at the start of a line #117: FILE: drivers/gpu/drm/i915/intel_color.c:1308: + .input_bpc = 10, .output_bpc = 14, \$ -:118: ERROR:CODE_INDENT: code indent should use tabs where possible #118: FILE: drivers/gpu/drm/i915/intel_color.c:1309: + .start = 0, .end = 1 << 10, \$ -:118: WARNING:LEADING_SPACE: please, no spaces at the start of a line #118: FILE: drivers/gpu/drm/i915/intel_color.c:1309: + .start = 0, .end = 1 << 10, \$ -:119: ERROR:CODE_INDENT: code indent should use tabs where possible #119: FILE: drivers/gpu/drm/i915/intel_color.c:1310: + .min = 0, .max = (1 << 14) - 1, \$ -:119: WARNING:LEADING_SPACE: please, no spaces at the start of a line #119: FILE: drivers/gpu/drm/i915/intel_color.c:1310: + .min = 0, .max = (1 << 14) - 1, \$ -:120: ERROR:CODE_INDENT: code indent should use tabs where possible #120: FILE: drivers/gpu/drm/i915/intel_color.c:1311: + }$ -:120: WARNING:LEADING_SPACE: please, no spaces at the start of a line #120: FILE: drivers/gpu/drm/i915/intel_color.c:1311: + }$ -:122: ERROR:CODE_INDENT: code indent should use tabs where possible #122: FILE: drivers/gpu/drm/i915/intel_color.c:1313: + { \$ -:122: WARNING:LEADING_SPACE: please, no spaces at the start of a line #122: FILE: drivers/gpu/drm/i915/intel_color.c:1313: + { \$ -:123: ERROR:CODE_INDENT: code indent should use tabs where possible #123: FILE: drivers/gpu/drm/i915/intel_color.c:1314: + .flags = (DRM_MODE_LUT_GAMMA | \$ -:123: WARNING:LEADING_SPACE: please, no spaces at the start of a line #123: FILE: drivers/gpu/drm/i915/intel_color.c:1314: + .flags = (DRM_MODE_LUT_GAMMA | \$ -:124: ERROR:CODE_INDENT: code indent should use tabs where possible #124: FILE: drivers/gpu/drm/i915/intel_color.c:1315: + DRM_MODE_LUT_INTERPOLATE | \$ -:124: WARNING:LEADING_SPACE: please, no spaces at the start of a line #124: FILE: drivers/gpu/drm/i915/intel_color.c:1315: + DRM_MODE_LUT_INTERPOLATE | \$ -:125: ERROR:CODE_INDENT: code indent should use tabs where possible #125: FILE: drivers/gpu/drm/i915/intel_color.c:1316: + DRM_MODE_LUT_NON_DECREASING), \$ -:125: WARNING:LEADING_SPACE: please, no spaces at the start of a line #125: FILE: drivers/gpu/drm/i915/intel_color.c:1316: + DRM_MODE_LUT_NON_DECREASING), \$ -:126: ERROR:CODE_INDENT: code indent should use tabs where possible #126: FILE: drivers/gpu/drm/i915/intel_color.c:1317: + .count = 257, \$ -:126: WARNING:LEADING_SPACE: please, no spaces at the start of a line #126: FILE: drivers/gpu/drm/i915/intel_color.c:1317: + .count = 257, \$ -:127: ERROR:CODE_INDENT: code indent should use tabs where possible #127: FILE: drivers/gpu/drm/i915/intel_color.c:1318: + .input_bpc = 14, .output_bpc = 10, \$ -:127: WARNING:LEADING_SPACE: please, no spaces at the start of a line #127: FILE: drivers/gpu/drm/i915/intel_color.c:1318: + .input_bpc = 14, .output_bpc = 10, \$ -:128: ERROR:CODE_INDENT: code indent should use tabs where possible #128: FILE: drivers/gpu/drm/i915/intel_color.c:1319: + .start = 0, .end = 1 << 14, \$ -:128: WARNING:LEADING_SPACE: please, no spaces at the start of a line #128: FILE: drivers/gpu/drm/i915/intel_color.c:1319: + .start = 0, .end = 1 << 14, \$ -:129: ERROR:CODE_INDENT: code indent should use tabs where possible #129: FILE: drivers/gpu/drm/i915/intel_color.c:1320: + .min = 0, .max = (1 << 10) - 1, \$ -:129: WARNING:LEADING_SPACE: please, no spaces at the start of a line #129: FILE: drivers/gpu/drm/i915/intel_color.c:1320: + .min = 0, .max = (1 << 10) - 1, \$ -:130: ERROR:CODE_INDENT: code indent should use tabs where possible #130: FILE: drivers/gpu/drm/i915/intel_color.c:1321: + }$ -:130: WARNING:LEADING_SPACE: please, no spaces at the start of a line #130: FILE: drivers/gpu/drm/i915/intel_color.c:1321: + }$ -:133: ERROR:CODE_INDENT: code indent should use tabs where possible #133: FILE: drivers/gpu/drm/i915/intel_color.c:1324: + CHV_CGM_DEGAMMA,$ -:133: WARNING:LEADING_SPACE: please, no spaces at the start of a line #133: FILE: drivers/gpu/drm/i915/intel_color.c:1324: + CHV_CGM_DEGAMMA,$ -:137: ERROR:CODE_INDENT: code indent should use tabs where possible #137: FILE: drivers/gpu/drm/i915/intel_color.c:1328: + CHV_CGM_GAMMA,$ -:137: WARNING:LEADING_SPACE: please, no spaces at the start of a line #137: FILE: drivers/gpu/drm/i915/intel_color.c:1328: + CHV_CGM_GAMMA,$ -:141: ERROR:CODE_INDENT: code indent should use tabs where possible #141: FILE: drivers/gpu/drm/i915/intel_color.c:1332: + CHV_CGM_DEGAMMA,$ -:141: WARNING:LEADING_SPACE: please, no spaces at the start of a line #141: FILE: drivers/gpu/drm/i915/intel_color.c:1332: + CHV_CGM_DEGAMMA,$ -:142: ERROR:CODE_INDENT: code indent should use tabs where possible #142: FILE: drivers/gpu/drm/i915/intel_color.c:1333: + I9XX_GAMMA_8,$ -:142: WARNING:LEADING_SPACE: please, no spaces at the start of a line #142: FILE: drivers/gpu/drm/i915/intel_color.c:1333: + I9XX_GAMMA_8,$ -:146: ERROR:CODE_INDENT: code indent should use tabs where possible #146: FILE: drivers/gpu/drm/i915/intel_color.c:1337: + CHV_CGM_DEGAMMA,$ -:146: WARNING:LEADING_SPACE: please, no spaces at the start of a line #146: FILE: drivers/gpu/drm/i915/intel_color.c:1337: + CHV_CGM_DEGAMMA,$ -:147: ERROR:CODE_INDENT: code indent should use tabs where possible #147: FILE: drivers/gpu/drm/i915/intel_color.c:1338: + I965_GAMMA_10,$ -:147: WARNING:LEADING_SPACE: please, no spaces at the start of a line #147: FILE: drivers/gpu/drm/i915/intel_color.c:1338: + I965_GAMMA_10,$ -:151: ERROR:CODE_INDENT: code indent should use tabs where possible #151: FILE: drivers/gpu/drm/i915/intel_color.c:1342: + CHV_CGM_DEGAMMA,$ -:151: WARNING:LEADING_SPACE: please, no spaces at the start of a line #151: FILE: drivers/gpu/drm/i915/intel_color.c:1342: + CHV_CGM_DEGAMMA,$ -:152: ERROR:CODE_INDENT: code indent should use tabs where possible #152: FILE: drivers/gpu/drm/i915/intel_color.c:1343: + CHV_CGM_GAMMA,$ -:152: WARNING:LEADING_SPACE: please, no spaces at the start of a line #152: FILE: drivers/gpu/drm/i915/intel_color.c:1343: + CHV_CGM_GAMMA,$ -:203: ERROR:CODE_INDENT: code indent should use tabs where possible #203: FILE: drivers/gpu/drm/i915/intel_color.c:1394: + {$ -:203: WARNING:LEADING_SPACE: please, no spaces at the start of a line #203: FILE: drivers/gpu/drm/i915/intel_color.c:1394: + {$ -:204: ERROR:CODE_INDENT: code indent should use tabs where possible #204: FILE: drivers/gpu/drm/i915/intel_color.c:1395: + .flags = (DRM_MODE_LUT_GAMMA |$ -:204: WARNING:LEADING_SPACE: please, no spaces at the start of a line #204: FILE: drivers/gpu/drm/i915/intel_color.c:1395: + .flags = (DRM_MODE_LUT_GAMMA |$ -:205: ERROR:CODE_INDENT: code indent should use tabs where possible #205: FILE: drivers/gpu/drm/i915/intel_color.c:1396: + DRM_MODE_LUT_DEGAMMA |$ -:205: WARNING:LEADING_SPACE: please, no spaces at the start of a line #205: FILE: drivers/gpu/drm/i915/intel_color.c:1396: + DRM_MODE_LUT_DEGAMMA |$ -:206: ERROR:CODE_INDENT: code indent should use tabs where possible #206: FILE: drivers/gpu/drm/i915/intel_color.c:1397: + DRM_MODE_LUT_REFLECT_NEGATIVE),$ -:206: WARNING:LEADING_SPACE: please, no spaces at the start of a line #206: FILE: drivers/gpu/drm/i915/intel_color.c:1397: + DRM_MODE_LUT_REFLECT_NEGATIVE),$ -:207: ERROR:CODE_INDENT: code indent should use tabs where possible #207: FILE: drivers/gpu/drm/i915/intel_color.c:1398: + .count = 1024,$ -:207: WARNING:LEADING_SPACE: please, no spaces at the start of a line #207: FILE: drivers/gpu/drm/i915/intel_color.c:1398: + .count = 1024,$ -:208: ERROR:CODE_INDENT: code indent should use tabs where possible #208: FILE: drivers/gpu/drm/i915/intel_color.c:1399: + .input_bpc = 10, .output_bpc = 10,$ -:208: WARNING:LEADING_SPACE: please, no spaces at the start of a line #208: FILE: drivers/gpu/drm/i915/intel_color.c:1399: + .input_bpc = 10, .output_bpc = 10,$ -:209: ERROR:CODE_INDENT: code indent should use tabs where possible #209: FILE: drivers/gpu/drm/i915/intel_color.c:1400: + .start = 0, .end = (1 << 10) - 1,$ -:209: WARNING:LEADING_SPACE: please, no spaces at the start of a line #209: FILE: drivers/gpu/drm/i915/intel_color.c:1400: + .start = 0, .end = (1 << 10) - 1,$ -:210: ERROR:CODE_INDENT: code indent should use tabs where possible #210: FILE: drivers/gpu/drm/i915/intel_color.c:1401: + .min = 0, .max = (1 << 10) - 1,$ -:210: WARNING:LEADING_SPACE: please, no spaces at the start of a line #210: FILE: drivers/gpu/drm/i915/intel_color.c:1401: + .min = 0, .max = (1 << 10) - 1,$ -:211: ERROR:CODE_INDENT: code indent should use tabs where possible #211: FILE: drivers/gpu/drm/i915/intel_color.c:1402: + },$ -:211: WARNING:LEADING_SPACE: please, no spaces at the start of a line #211: FILE: drivers/gpu/drm/i915/intel_color.c:1402: + },$ -:212: ERROR:CODE_INDENT: code indent should use tabs where possible #212: FILE: drivers/gpu/drm/i915/intel_color.c:1403: + /* PAL_EXT_GC_MAX */$ -:213: ERROR:CODE_INDENT: code indent should use tabs where possible #213: FILE: drivers/gpu/drm/i915/intel_color.c:1404: + {$ -:213: WARNING:LEADING_SPACE: please, no spaces at the start of a line #213: FILE: drivers/gpu/drm/i915/intel_color.c:1404: + {$ -:214: ERROR:CODE_INDENT: code indent should use tabs where possible #214: FILE: drivers/gpu/drm/i915/intel_color.c:1405: + .flags = (DRM_MODE_LUT_GAMMA |$ -:214: WARNING:LEADING_SPACE: please, no spaces at the start of a line #214: FILE: drivers/gpu/drm/i915/intel_color.c:1405: + .flags = (DRM_MODE_LUT_GAMMA |$ -:215: ERROR:CODE_INDENT: code indent should use tabs where possible #215: FILE: drivers/gpu/drm/i915/intel_color.c:1406: + DRM_MODE_LUT_DEGAMMA |$ -:215: WARNING:LEADING_SPACE: please, no spaces at the start of a line #215: FILE: drivers/gpu/drm/i915/intel_color.c:1406: + DRM_MODE_LUT_DEGAMMA |$ -:216: ERROR:CODE_INDENT: code indent should use tabs where possible #216: FILE: drivers/gpu/drm/i915/intel_color.c:1407: + DRM_MODE_LUT_REFLECT_NEGATIVE |$ -:216: WARNING:LEADING_SPACE: please, no spaces at the start of a line #216: FILE: drivers/gpu/drm/i915/intel_color.c:1407: + DRM_MODE_LUT_REFLECT_NEGATIVE |$ -:217: ERROR:CODE_INDENT: code indent should use tabs where possible #217: FILE: drivers/gpu/drm/i915/intel_color.c:1408: + DRM_MODE_LUT_INTERPOLATE |$ -:217: WARNING:LEADING_SPACE: please, no spaces at the start of a line #217: FILE: drivers/gpu/drm/i915/intel_color.c:1408: + DRM_MODE_LUT_INTERPOLATE |$ -:218: ERROR:CODE_INDENT: code indent should use tabs where possible #218: FILE: drivers/gpu/drm/i915/intel_color.c:1409: + DRM_MODE_LUT_REUSE_LAST |$ -:218: WARNING:LEADING_SPACE: please, no spaces at the start of a line #218: FILE: drivers/gpu/drm/i915/intel_color.c:1409: + DRM_MODE_LUT_REUSE_LAST |$ -:219: ERROR:CODE_INDENT: code indent should use tabs where possible #219: FILE: drivers/gpu/drm/i915/intel_color.c:1410: + DRM_MODE_LUT_NON_DECREASING),$ -:219: WARNING:LEADING_SPACE: please, no spaces at the start of a line #219: FILE: drivers/gpu/drm/i915/intel_color.c:1410: + DRM_MODE_LUT_NON_DECREASING),$ -:220: ERROR:CODE_INDENT: code indent should use tabs where possible #220: FILE: drivers/gpu/drm/i915/intel_color.c:1411: + .count = 1,$ -:220: WARNING:LEADING_SPACE: please, no spaces at the start of a line #220: FILE: drivers/gpu/drm/i915/intel_color.c:1411: + .count = 1,$ -:221: ERROR:CODE_INDENT: code indent should use tabs where possible #221: FILE: drivers/gpu/drm/i915/intel_color.c:1412: + .input_bpc = 10, .output_bpc = 16,$ -:221: WARNING:LEADING_SPACE: please, no spaces at the start of a line #221: FILE: drivers/gpu/drm/i915/intel_color.c:1412: + .input_bpc = 10, .output_bpc = 16,$ -:222: ERROR:CODE_INDENT: code indent should use tabs where possible #222: FILE: drivers/gpu/drm/i915/intel_color.c:1413: + .start = 1 << 10, .end = 3 << 10,$ -:222: WARNING:LEADING_SPACE: please, no spaces at the start of a line #222: FILE: drivers/gpu/drm/i915/intel_color.c:1413: + .start = 1 << 10, .end = 3 << 10,$ -:223: ERROR:CODE_INDENT: code indent should use tabs where possible #223: FILE: drivers/gpu/drm/i915/intel_color.c:1414: + .min = 0, .max = (8 << 16) - 1,$ -:223: WARNING:LEADING_SPACE: please, no spaces at the start of a line #223: FILE: drivers/gpu/drm/i915/intel_color.c:1414: + .min = 0, .max = (8 << 16) - 1,$ -:224: ERROR:CODE_INDENT: code indent should use tabs where possible #224: FILE: drivers/gpu/drm/i915/intel_color.c:1415: + }$ -:224: WARNING:LEADING_SPACE: please, no spaces at the start of a line #224: FILE: drivers/gpu/drm/i915/intel_color.c:1415: + }$ -:313: ERROR:CODE_INDENT: code indent should use tabs where possible #313: FILE: drivers/gpu/drm/i915/intel_color.c:1504: + {$ -:313: WARNING:LEADING_SPACE: please, no spaces at the start of a line #313: FILE: drivers/gpu/drm/i915/intel_color.c:1504: + {$ -:314: ERROR:CODE_INDENT: code indent should use tabs where possible #314: FILE: drivers/gpu/drm/i915/intel_color.c:1505: + .flags = (DRM_MODE_LUT_DEGAMMA |$ -:314: WARNING:LEADING_SPACE: please, no spaces at the start of a line #314: FILE: drivers/gpu/drm/i915/intel_color.c:1505: + .flags = (DRM_MODE_LUT_DEGAMMA |$ -:315: ERROR:CODE_INDENT: code indent should use tabs where possible #315: FILE: drivers/gpu/drm/i915/intel_color.c:1506: + DRM_MODE_LUT_REFLECT_NEGATIVE),$ -:315: WARNING:LEADING_SPACE: please, no spaces at the start of a line #315: FILE: drivers/gpu/drm/i915/intel_color.c:1506: + DRM_MODE_LUT_REFLECT_NEGATIVE),$ -:316: ERROR:CODE_INDENT: code indent should use tabs where possible #316: FILE: drivers/gpu/drm/i915/intel_color.c:1507: + .count = 512,$ -:316: WARNING:LEADING_SPACE: please, no spaces at the start of a line #316: FILE: drivers/gpu/drm/i915/intel_color.c:1507: + .count = 512,$ -:317: ERROR:CODE_INDENT: code indent should use tabs where possible #317: FILE: drivers/gpu/drm/i915/intel_color.c:1508: + .input_bpc = 9, .output_bpc = 10,$ -:317: WARNING:LEADING_SPACE: please, no spaces at the start o _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx