]> 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)
commitc2bb35e99f4b426efdd28011655bd67ca86749b5
tree6ca414701dd8028b834baf3a3d0efc6d7b06d01b
parent53693f02d80e0a909e76c2a25f8aac8515f959db
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