]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dsc: force full modeset whenever DSC is enabled at probe
authorJani Nikula <jani.nikula@intel.com>
Thu, 13 Feb 2020 14:04:11 +0000 (16:04 +0200)
committerJani Nikula <jani.nikula@intel.com>
Sat, 15 Feb 2020 17:20:02 +0000 (19:20 +0200)
commit54ae39f8ca283e56c348cbc4a2b79e9b99042768
tree60e6534dd0d9a2ed3e9cd1f14b90f4bb7f8d897e
parenta6a32f6626afe311b7e9d2b05a491f30373afb69
drm/i915/dsc: force full modeset whenever DSC is enabled at probe

We lack full state readout of DSC config, which may lead to DSC enable
using a config that's all zeros, failing spectacularly. Force full
modeset and thus compute config at probe to get a sane state, until we
implement DSC state readout. Any fastset that did appear to work with
DSC at probe, worked by coincidence. [1] is an example of a change that
triggered the issue on TGL DSI DSC.

[1] http://patchwork.freedesktop.org/patch/msgid/20200212150102.7600-1-ville.syrjala@linux.intel.com

Cc: Manasi Navare <manasi.d.navare@intel.com>
Cc: Vandita Kulkarni <vandita.kulkarni@intel.com>
Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Cc: stable@vger.kernel.org
Fixes: bf4278c418e9 ("drm/i915/dsc: add basic hardware state readout support")
Acked-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200213140412.32697-3-stanislav.lisovskiy@intel.com
drivers/gpu/drm/i915/display/intel_display.c