From 96b4fb6c75053f2158bb9d3ac607a14d44096d79 Mon Sep 17 00:00:00 2001 From: Kuogee Hsieh Date: Fri, 18 Jan 2013 10:55:36 -0800 Subject: [PATCH] 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 --- drivers/video/msm/mdp4_util.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/video/msm/mdp4_util.c b/drivers/video/msm/mdp4_util.c index ff5b1d1609d1..e4af394e9e1c 100644 --- a/drivers/video/msm/mdp4_util.c +++ b/drivers/video/msm/mdp4_util.c @@ -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)