[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/color: register & get config abstractions

Patchwork patchwork at emeril.freedesktop.org
Wed May 17 15:04:38 UTC 2023


== Series Details ==

Series: drm/i915/color: register & get config abstractions
URL   : https://patchwork.freedesktop.org/series/117875/
State : warning

== Summary ==

Error: dim checkpatch failed
88392f9a0c53 drm/i915/regs: split out intel_color_regs.h
Traceback (most recent call last):
  File "scripts/spdxcheck.py", line 6, in <module>
    from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
-:35: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#35: 
new file mode 100644

-:75: WARNING:LONG_LINE_COMMENT: line length of 105 exceeds 100 columns
#75: FILE: drivers/gpu/drm/i915/display/intel_color_regs.h:36:
+#define PREC_PIPEGCMAX(pipe, i)        _MMIO(_PIPE(pipe, _PIPEAGCMAX, _PIPEBGCMAX) + (i) * 4) /* u1.16 */

-:87: WARNING:LONG_LINE_COMMENT: line length of 101 exceeds 100 columns
#87: FILE: drivers/gpu/drm/i915/display/intel_color_regs.h:48:
+#define  GAMMA_MODE_MODE_SPLIT			REG_FIELD_PREP(GAMMA_MODE_MODE_MASK, 3) /* ivb-bdw */

-:88: WARNING:LONG_LINE_COMMENT: line length of 101 exceeds 100 columns
#88: FILE: drivers/gpu/drm/i915/display/intel_color_regs.h:49:
+#define  GAMMA_MODE_MODE_12BIT_MULTI_SEG	REG_FIELD_PREP(GAMMA_MODE_MODE_MASK, 3) /* icl-tgl */

-:126: WARNING:LONG_LINE: line length of 106 exceeds 100 columns
#126: FILE: drivers/gpu/drm/i915/display/intel_color_regs.h:87:
+#define PIPE_CSC_COEFF_RY_GY(pipe)	_MMIO_PIPE(pipe, _PIPE_A_CSC_COEFF_RY_GY, _PIPE_B_CSC_COEFF_RY_GY)

-:128: WARNING:LONG_LINE: line length of 106 exceeds 100 columns
#128: FILE: drivers/gpu/drm/i915/display/intel_color_regs.h:89:
+#define PIPE_CSC_COEFF_RU_GU(pipe)	_MMIO_PIPE(pipe, _PIPE_A_CSC_COEFF_RU_GU, _PIPE_B_CSC_COEFF_RU_GU)

-:130: WARNING:LONG_LINE: line length of 106 exceeds 100 columns
#130: FILE: drivers/gpu/drm/i915/display/intel_color_regs.h:91:
+#define PIPE_CSC_COEFF_RV_GV(pipe)	_MMIO_PIPE(pipe, _PIPE_A_CSC_COEFF_RV_GV, _PIPE_B_CSC_COEFF_RV_GV)

-:133: WARNING:LONG_LINE: line length of 102 exceeds 100 columns
#133: FILE: drivers/gpu/drm/i915/display/intel_color_regs.h:94:
+#define PIPE_CSC_PREOFF_HI(pipe)	_MMIO_PIPE(pipe, _PIPE_A_CSC_PREOFF_HI, _PIPE_B_CSC_PREOFF_HI)

-:134: WARNING:LONG_LINE: line length of 102 exceeds 100 columns
#134: FILE: drivers/gpu/drm/i915/display/intel_color_regs.h:95:
+#define PIPE_CSC_PREOFF_ME(pipe)	_MMIO_PIPE(pipe, _PIPE_A_CSC_PREOFF_ME, _PIPE_B_CSC_PREOFF_ME)

-:135: WARNING:LONG_LINE: line length of 102 exceeds 100 columns
#135: FILE: drivers/gpu/drm/i915/display/intel_color_regs.h:96:
+#define PIPE_CSC_PREOFF_LO(pipe)	_MMIO_PIPE(pipe, _PIPE_A_CSC_PREOFF_LO, _PIPE_B_CSC_PREOFF_LO)

-:136: WARNING:LONG_LINE: line length of 104 exceeds 100 columns
#136: FILE: drivers/gpu/drm/i915/display/intel_color_regs.h:97:
+#define PIPE_CSC_POSTOFF_HI(pipe)	_MMIO_PIPE(pipe, _PIPE_A_CSC_POSTOFF_HI, _PIPE_B_CSC_POSTOFF_HI)

-:137: WARNING:LONG_LINE: line length of 104 exceeds 100 columns
#137: FILE: drivers/gpu/drm/i915/display/intel_color_regs.h:98:
+#define PIPE_CSC_POSTOFF_ME(pipe)	_MMIO_PIPE(pipe, _PIPE_A_CSC_POSTOFF_ME, _PIPE_B_CSC_POSTOFF_ME)

-:138: WARNING:LONG_LINE: line length of 104 exceeds 100 columns
#138: FILE: drivers/gpu/drm/i915/display/intel_color_regs.h:99:
+#define PIPE_CSC_POSTOFF_LO(pipe)	_MMIO_PIPE(pipe, _PIPE_A_CSC_POSTOFF_LO, _PIPE_B_CSC_POSTOFF_LO)

-:228: WARNING:LONG_LINE: line length of 120 exceeds 100 columns
#228: FILE: drivers/gpu/drm/i915/display/intel_color_regs.h:189:
+#define PREC_PAL_GC_MAX(pipe, i)	_MMIO(_PIPE(pipe, _PAL_PREC_GC_MAX_A, _PAL_PREC_GC_MAX_B) + (i) * 4) /* u1.16 */

-:229: WARNING:LONG_LINE: line length of 128 exceeds 100 columns
#229: FILE: drivers/gpu/drm/i915/display/intel_color_regs.h:190:
+#define PREC_PAL_EXT_GC_MAX(pipe, i)	_MMIO(_PIPE(pipe, _PAL_PREC_EXT_GC_MAX_A, _PAL_PREC_EXT_GC_MAX_B) + (i) * 4) /* u3.16 */

-:230: WARNING:LONG_LINE: line length of 136 exceeds 100 columns
#230: FILE: drivers/gpu/drm/i915/display/intel_color_regs.h:191:
+#define PREC_PAL_EXT2_GC_MAX(pipe, i)	_MMIO(_PIPE(pipe, _PAL_PREC_EXT2_GC_MAX_A, _PAL_PREC_EXT2_GC_MAX_B) + (i) * 4) /* glk+, u3.16 */

-:242: WARNING:LONG_LINE: line length of 102 exceeds 100 columns
#242: FILE: drivers/gpu/drm/i915/display/intel_color_regs.h:203:
+#define PRE_CSC_GAMC_INDEX(pipe)	_MMIO_PIPE(pipe, _PRE_CSC_GAMC_INDEX_A, _PRE_CSC_GAMC_INDEX_B)

-:250: WARNING:LONG_LINE: line length of 104 exceeds 100 columns
#250: FILE: drivers/gpu/drm/i915/display/intel_color_regs.h:211:
+#define   PAL_PREC_MULTI_SEG_INDEX_VALUE(x)	REG_FIELD_PREP(PAL_PREC_MULTI_SEG_INDEX_VALUE_MASK, (x))

-:295: WARNING:LONG_LINE: line length of 106 exceeds 100 columns
#295: FILE: drivers/gpu/drm/i915/display/intel_color_regs.h:256:
+#define CGM_PIPE_CSC_COEFF01(pipe)	_MMIO_PIPE(pipe, _CGM_PIPE_A_CSC_COEFF01, _CGM_PIPE_B_CSC_COEFF01)

-:296: WARNING:LONG_LINE: line length of 106 exceeds 100 columns
#296: FILE: drivers/gpu/drm/i915/display/intel_color_regs.h:257:
+#define CGM_PIPE_CSC_COEFF23(pipe)	_MMIO_PIPE(pipe, _CGM_PIPE_A_CSC_COEFF23, _CGM_PIPE_B_CSC_COEFF23)

-:297: WARNING:LONG_LINE: line length of 106 exceeds 100 columns
#297: FILE: drivers/gpu/drm/i915/display/intel_color_regs.h:258:
+#define CGM_PIPE_CSC_COEFF45(pipe)	_MMIO_PIPE(pipe, _CGM_PIPE_A_CSC_COEFF45, _CGM_PIPE_B_CSC_COEFF45)

-:298: WARNING:LONG_LINE: line length of 106 exceeds 100 columns
#298: FILE: drivers/gpu/drm/i915/display/intel_color_regs.h:259:
+#define CGM_PIPE_CSC_COEFF67(pipe)	_MMIO_PIPE(pipe, _CGM_PIPE_A_CSC_COEFF67, _CGM_PIPE_B_CSC_COEFF67)

-:299: WARNING:LONG_LINE: line length of 104 exceeds 100 columns
#299: FILE: drivers/gpu/drm/i915/display/intel_color_regs.h:260:
+#define CGM_PIPE_CSC_COEFF8(pipe)	_MMIO_PIPE(pipe, _CGM_PIPE_A_CSC_COEFF8, _CGM_PIPE_B_CSC_COEFF8)

-:300: WARNING:LONG_LINE: line length of 120 exceeds 100 columns
#300: FILE: drivers/gpu/drm/i915/display/intel_color_regs.h:261:
+#define CGM_PIPE_DEGAMMA(pipe, i, w)	_MMIO(_PIPE(pipe, _CGM_PIPE_A_DEGAMMA, _CGM_PIPE_B_DEGAMMA) + (i) * 8 + (w) * 4)

-:301: WARNING:LONG_LINE: line length of 116 exceeds 100 columns
#301: FILE: drivers/gpu/drm/i915/display/intel_color_regs.h:262:
+#define CGM_PIPE_GAMMA(pipe, i, w)	_MMIO(_PIPE(pipe, _CGM_PIPE_A_GAMMA, _CGM_PIPE_B_GAMMA) + (i) * 8 + (w) * 4)

total: 0 errors, 25 warnings, 0 checks, 591 lines checked
75886f52437f drm/i915/color: move CHV CGM pipe mode read to intel_color
f39691d89712 drm/i915: move HSW+ gamma mode read to intel_color
08e78de74e8d drm/i915: move ILK+ CSC mode read to intel_color
6cc47d52f6da drm/i915/color: move SKL+ gamma and CSC enable read to intel_color
6842dab3c552 drm/i915/color: move pre-SKL gamma and CSC enable read to intel_color




More information about the Intel-gfx mailing list