]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dp: Fix link compute m_n calc for DSC
authorManasi Navare <manasi.d.navare@intel.com>
Sat, 1 Dec 2018 01:04:12 +0000 (17:04 -0800)
committerManasi Navare <manasi.d.navare@intel.com>
Mon, 3 Dec 2018 19:52:27 +0000 (11:52 -0800)
commit55ad7e40ee7038b9aaf039a0aee55ac62fcfe170
tree2318f4207ffa3cbe726d07b86bc78069ac110d78
parentba50b30c8aa09e5783a140d8f5f9a6923156cda2
drm/i915/dp: Fix link compute m_n calc for DSC

Fix the intel_link_compute_m_n in case of display stream
compression. This patch passes the compressed_bpp to
intel_link_compute_m_n if compression is enabled.

Fixes: 2f9fdb832354 ("drm/i915/dp: Compute DSC pipe config in atomic check")
Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Cc: Anusha Srivatsa <anusha.srivatsa@intel.com>
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181201010412.32372-1-manasi.d.navare@intel.com
drivers/gpu/drm/i915/intel_dp.c