[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for In order to readout DP SDPs, refactors the handling of DP SDPs (rev11)

Patchwork patchwork at emeril.freedesktop.org
Tue Apr 21 07:54:09 UTC 2020


== Series Details ==

Series: In order to readout DP SDPs, refactors the handling of DP SDPs (rev11)
URL   : https://patchwork.freedesktop.org/series/72853/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
33516c7eda02 video/hdmi: Add Unpack only function for DRM infoframe
5eae0ec2d8ae drm/i915/dp: Read out DP SDPs
3df2cc567e5a drm: Add logging function for DP VSC SDP
6cccd45e8119 drm/i915: Include HDMI DRM infoframe in the crtc state dump
ca01029436e6 drm/i915: Include DP HDR Metadata Infoframe SDP in the crtc state dump
673d595572d2 drm/i915: Include DP VSC SDP in the crtc state dump
baa9bbad6bef drm/i915: Program DP SDPs with computed configs
beeabdf3a48b drm/i915: Add state readout for DP HDR Metadata Infoframe SDP
3f0c456bcfa9 drm/i915: Add state readout for DP VSC SDP
-:83: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'name' - possible side-effects?
#83: FILE: drivers/gpu/drm/i915/display/intel_display.c:13735:
+#define PIPE_CONF_CHECK_DP_VSC_SDP(name) do { \
+	if (!current_config->has_psr && !pipe_config->has_psr && \
+	    !intel_compare_dp_vsc_sdp(&current_config->infoframes.name, \
+				      &pipe_config->infoframes.name)) { \
+		pipe_config_dp_vsc_sdp_mismatch(dev_priv, fastset, __stringify(name), \
+						&current_config->infoframes.name, \
+						&pipe_config->infoframes.name); \
+		ret = false; \
+	} \
+} while (0)

total: 0 errors, 0 warnings, 1 checks, 75 lines checked
e78863a17e96 drm/i915: Fix enabled infoframe states of lspcon
b8c74d06c9ea drm/i915: Program DP SDPs on pipe updates
07856a13f253 drm/i915: Stop sending DP SDPs on ddi disable
9a2ad5a32a45 drm/i915/dp: Add compute routine for DP PSR VSC SDP
a5db16ec932c drm/i915/psr: Use new DP VSC SDP compute routine on PSR



More information about the Intel-gfx mailing list