]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dsi: Fix state mismatch warns for horizontal timings with DSC
authorVandita Kulkarni <vandita.kulkarni@intel.com>
Tue, 10 Dec 2019 10:50:59 +0000 (12:50 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 11 Dec 2019 06:19:49 +0000 (08:19 +0200)
commitf3875d6c49fd7c30fa7dfa0afb02ef9912e9080f
tree6ca414701dd8028b834baf3a3d0efc6d7b06d01b
parent01e026aef59a3568d9f58467087dba47b42b1290
drm/i915/dsi: Fix state mismatch warns for horizontal timings with DSC

When DSC is enabled consider the compression ratio that was used during
horizontal timing calculations.

This may still lead to warns due to rounding errors in the round-trip.

v2 by Jani:
- rebase on top of the more generic dsc state readout

Signed-off-by: Vandita Kulkarni <vandita.kulkarni@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/c2481aaf67ea396aa4698cd2d8e23d19ec4f4ecf.1575974743.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/icl_dsi.c