فهرست منبع

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);
 	}