mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
msm_fb: display: add mdp new update method
Enable new mdp update method which requires flush bit to be set before updating mixer cfg register for both smart and dump panel Change-Id: I97b9d221da574a96707748ec83dd1acff6dcb654 Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
This commit is contained in:
parent
fb46cdf3bf
commit
96b4fb6c75
1 changed files with 5 additions and 0 deletions
|
@ -457,6 +457,11 @@ void mdp4_hw_init(void)
|
|||
clk_rate = mdp_get_core_clk();
|
||||
mdp4_fetch_cfg(clk_rate);
|
||||
|
||||
if (mdp_rev >= MDP_REV_42) {
|
||||
/* MDP_LAYERMIXER_IN_CFG_UPDATE_METHOD */
|
||||
outpdw(MDP_BASE + 0x100fc, 0x01);
|
||||
}
|
||||
|
||||
/* Mark hardware as initialized. Only revisions > v2.1 have a register
|
||||
* for tracking core reset status. */
|
||||
if (mdp_hw_revision > MDP4_REVISION_V2_1)
|
||||
|
|
Loading…
Reference in a new issue