diff options
author | Manasi Navare <[email protected]> | 2018-11-30 17:04:12 -0800 |
---|---|---|
committer | Manasi Navare <[email protected]> | 2018-12-03 11:52:27 -0800 |
commit | ae9e7ced4f7b0e9d1646844b4713d6b60e9b3f65 (patch) | |
tree | 2318f4207ffa3cbe726d07b86bc78069ac110d78 | |
parent | e1215de823ca50ba1ca313c35ec75abad0362593 (diff) |
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: a4a157777c80 ("drm/i915/dp: Compute DSC pipe config in atomic check")
Cc: Ville Syrjala <[email protected]>
Cc: Anusha Srivatsa <[email protected]>
Signed-off-by: Manasi Navare <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
-rw-r--r-- | drivers/gpu/drm/i915/intel_dp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index 38a6e82153fd..a6907a1761ab 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c @@ -2173,7 +2173,7 @@ intel_dp_compute_config(struct intel_encoder *encoder, &pipe_config->dp_m_n, constant_n); 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, adjusted_mode->crtc_clock, pipe_config->port_clock, |