]> 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)
commit6fa2b225e974666bd53c45cdf07bf07570195182
tree8c89007decb9c6afb36c742ea1c9f900d9f982b3
parent0e52d553494e9d3d6d1a97a422e8e348e7ffb2a7
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