Skip to content

Commit 95d939b

Browse files
StanFox1984jnikula
authored andcommitted
drm/i915: Use compressed bpp when calculating m/n value for DP MST DSC
For obvious reasons, we use compressed bpp instead of pipe bpp for DSC DP SST case. Lets be consistent and use compressed bpp instead of pipe bpp, also in DP MST DSC case. Signed-off-by: Stanislav Lisovskiy <[email protected]> Reviewed-by: Vinod Govindapillai <[email protected]> Fixes: d51f25e ("drm/i915: Add DSC support to MST path") Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit ea1deab) Signed-off-by: Jani Nikula <[email protected]>
1 parent c742374 commit 95d939b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/i915/display/intel_dp_mst.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ static int intel_dp_dsc_mst_compute_link_config(struct intel_encoder *encoder,
232232
return slots;
233233
}
234234

235-
intel_link_compute_m_n(crtc_state->pipe_bpp,
235+
intel_link_compute_m_n(crtc_state->dsc.compressed_bpp,
236236
crtc_state->lane_count,
237237
adjusted_mode->crtc_clock,
238238
crtc_state->port_clock,

0 commit comments

Comments
 (0)