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 <anajahi@codeaurora.org>
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
parent
20ed4f0785
commit
ecc12cd5d2
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user