Commit ae9e7ced authored by Manasi Navare's avatar Manasi Navare

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: a4a15777 ("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: default avatarManasi Navare <manasi.d.navare@intel.com>
Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181201010412.32372-1-manasi.d.navare@intel.com
parent e1215de8
...@@ -2173,7 +2173,7 @@ intel_dp_compute_config(struct intel_encoder *encoder, ...@@ -2173,7 +2173,7 @@ intel_dp_compute_config(struct intel_encoder *encoder,
&pipe_config->dp_m_n, &pipe_config->dp_m_n,
constant_n); constant_n);
else else
intel_link_compute_m_n(pipe_config->dsc_params.compression_enable, intel_link_compute_m_n(pipe_config->dsc_params.compressed_bpp,
pipe_config->lane_count, pipe_config->lane_count,
adjusted_mode->crtc_clock, adjusted_mode->crtc_clock,
pipe_config->port_clock, pipe_config->port_clock,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment