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:
Kuogee Hsieh 2013-01-18 10:55:36 -08:00 committed by Stephen Boyd
parent fb46cdf3bf
commit 96b4fb6c75

View file

@ -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)