Skip to content

Commit 1ff65bf

Browse files
committed
drm/i915/dp_mst: Fix BW limit check when calculating DSC DPT bpp
The DSC DPT bpp limit check should only fail if the available DPT BW is less than the required BW, fix the check accordingly. Reviewed-by: Ankit Nautiyal <[email protected]> Signed-off-by: Imre Deak <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 854ff3d commit 1ff65bf

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
@@ -60,7 +60,7 @@ static int intel_dp_mst_check_constraints(struct drm_i915_private *i915, int bpp
6060
int output_bpp = bpp;
6161
int symbol_clock = intel_dp_link_symbol_clock(crtc_state->port_clock);
6262

63-
if (output_bpp * adjusted_mode->crtc_clock >=
63+
if (output_bpp * adjusted_mode->crtc_clock >
6464
symbol_clock * 72) {
6565
drm_dbg_kms(&i915->drm, "UHBR check failed(required bw %d available %d)\n",
6666
output_bpp * adjusted_mode->crtc_clock, symbol_clock * 72);

0 commit comments

Comments
 (0)