✗ Fi.CI.CHECKPATCH: warning for Enable YCbCr420 format for VDSC

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

 



== Series Details ==

Series: Enable YCbCr420 format for VDSC
URL   : https://patchwork.freedesktop.org/series/114246/
State : warning

== Summary ==

Error: dim checkpatch failed
50d82404259d drm/dp_helper: Add helper to check DSC support with given o/p format
8a054916220a drm/i915/dp: Check if DSC supports the given output_format
cc078397ede3 drm/i915: Adding the new registers for DSC
010a8a43fda3 drm/i915: Enable YCbCr420 for VDSC
-:199: CHECK:MACRO_ARG_REUSE: Macro argument reuse '_row' - possible side-effects?
#199: FILE: drivers/gpu/drm/i915/display/intel_qp_tables.c:447:
+#define PARAM_TABLE(_minmax, _bpc, _row, _col, _is_420)  do { \
+	if (bpc == (_bpc)) {	\
+		if (_is_420)	\
+			return rc_range_##_minmax##qp420_##_bpc##bpc[_row][_col]; \
+		else	\
+			return rc_range_##_minmax##qp444_##_bpc##bpc[_row][_col]; \
+	}	\
 } while (0)

-:199: CHECK:MACRO_ARG_REUSE: Macro argument reuse '_col' - possible side-effects?
#199: FILE: drivers/gpu/drm/i915/display/intel_qp_tables.c:447:
+#define PARAM_TABLE(_minmax, _bpc, _row, _col, _is_420)  do { \
+	if (bpc == (_bpc)) {	\
+		if (_is_420)	\
+			return rc_range_##_minmax##qp420_##_bpc##bpc[_row][_col]; \
+		else	\
+			return rc_range_##_minmax##qp444_##_bpc##bpc[_row][_col]; \
+	}	\
 } while (0)

total: 0 errors, 0 warnings, 2 checks, 228 lines checked
ae5e251167ba drm/i915/display: Fill in native_420 field
c2dc1975afc9 drm/i915/vdsc: Check slice design requirement
727724e06154 drm/i915/dsc: Add debugfs entry to validate DSC output formats





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

  Powered by Linux