소스 검색

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