✗ Fi.CI.CHECKPATCH: warning for Allow PSR mode changes without full modeset
Patchwork
patchwork at emeril.freedesktop.org
Tue Jan 9 13:09:46 UTC 2024
== Series Details ==
Series: Allow PSR mode changes without full modeset
URL : https://patchwork.freedesktop.org/series/128360/
State : warning
== Summary ==
Error: dim checkpatch failed
6dc8ca5bdd65 drm/i915/display: No need for full modeset due to psr
d034710b2ab1 drm/i915/psr: CAN_PSR and CAN_PANEL_REPLAY can be now local defines
-:23: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'intel_dp' - possible side-effects?
#23: FILE: drivers/gpu/drm/i915/display/intel_psr.c:176:
+#define CAN_PSR(intel_dp) ((intel_dp)->psr.sink_support && \
+ (intel_dp)->psr.source_support)
-:26: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'intel_dp' - possible side-effects?
#26: FILE: drivers/gpu/drm/i915/display/intel_psr.c:179:
+#define CAN_PANEL_REPLAY(intel_dp) ((intel_dp)->psr.sink_panel_replay_support && \
+ (intel_dp)->psr.source_panel_replay_support)
total: 0 errors, 0 warnings, 2 checks, 24 lines checked
More information about the Intel-gfx
mailing list