]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/display: Disable audio, DRRS and PSR before planes
authorJosé Roberto de Souza <jose.souza@intel.com>
Mon, 26 Jul 2021 18:15:59 +0000 (11:15 -0700)
committerJosé Roberto de Souza <jose.souza@intel.com>
Tue, 27 Jul 2021 20:35:02 +0000 (13:35 -0700)
commitd893eef916a5d20c951e1da53ced89a8d0359538
tree8c89007decb9c6afb36c742ea1c9f900d9f982b3
parentb4f7e1c237d4f928d4a6344322f53bb52a910f7d
drm/i915/display: Disable audio, DRRS and PSR before planes

HDMI and DisplayPort sequences states that audio and PSR should be
disabled before planes are disabled.
Not following it did not caused any problems up to Alderlake-P but
for this platform it causes underruns during the PSR2 disable
sequence.

Specification don't mention that DRRS should be disabled before planes
but it looks safer to switch back to the default refresh rate before
following with the rest of the pipe disable sequence.

BSpec: 49191
BSpec: 49190
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210726181559.80855-1-jose.souza@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_display_types.h
drivers/gpu/drm/i915/display/intel_dp_mst.c