Browse Source

disp: msm: sde: disable ot limit for cwb

Currently ot limits are being set for concurrent writeback,
which is not supported. This change adds a check to correctly
set wfd parameter while applying ot limit settings.

Change-Id: I87c1ca756c1714fec4466cd5a5a820ddf2519975
Signed-off-by: Nilaan Gunabalachandran <[email protected]>
Nilaan Gunabalachandran 3 years ago
parent
commit
00468713c6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      msm/sde/sde_encoder_phys_wb.c

+ 1 - 1
msm/sde/sde_encoder_phys_wb.c

@@ -88,7 +88,7 @@ static void sde_encoder_phys_wb_set_ot_limit(
 	ot_params.num = hw_wb->idx - WB_0;
 	ot_params.width = wb_enc->wb_roi.w;
 	ot_params.height = wb_enc->wb_roi.h;
-	ot_params.is_wfd = true;
+	ot_params.is_wfd = !(phys_enc->in_clone_mode);
 	ot_params.frame_rate = drm_mode_vrefresh(&phys_enc->cached_mode);
 	ot_params.vbif_idx = hw_wb->caps->vbif_idx;
 	ot_params.clk_ctrl = hw_wb->caps->clk_ctrl;