Преглед на файлове

disp: msm: dp: enable INTF to DP drain rate matching

Enable DP controller hardware feature to modulates the
data drain rate between DP and INTF to reduce chances
of MDP Underflow or DP Overflow.

Change-Id: I7214a2fff957ae35b31c660bafa1d0141eb50680
Signed-off-by: Amine Najahi <[email protected]>
Amine Najahi преди 4 години
родител
ревизия
ecc12cd5d2
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      msm/dp/dp_catalog.c

+ 2 - 1
msm/dp/dp_catalog.c

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0-only
 /*
- * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
  */
 
 
@@ -1462,6 +1462,7 @@ static void dp_catalog_panel_dsc_cfg(struct dp_catalog_panel *panel)
 	reg = dp_read(MMSS_DP_DSC_DTO);
 	if (panel->dsc.dto_en) {
 		reg |= BIT(0);
+		reg |= BIT(3);
 		reg |= (panel->dsc.dto_n << 8);
 		reg |= (panel->dsc.dto_d << 16);
 	}