[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Use crtc_state->has_psr instead of CAN_PSR for pipe update

Patchwork patchwork at emeril.freedesktop.org
Fri Jul 6 22:54:24 UTC 2018


== Series Details ==

Series: drm/i915: Use crtc_state->has_psr instead of CAN_PSR for pipe update
URL   : https://patchwork.freedesktop.org/series/46104/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
27f7762e393d drm/i915: Use crtc_state->has_psr instead of CAN_PSR for pipe update
-:31: CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'new_crtc_state->has_psr'
#31: FILE: drivers/gpu/drm/i915/intel_sprite.c:121:
+	if ((new_crtc_state->has_psr) && intel_psr_wait_for_idle(dev_priv))

total: 0 errors, 0 warnings, 1 checks, 8 lines checked



More information about the Intel-gfx mailing list