From: 陈亮 Date: Fri, 4 Jul 2014 05:51:38 +0000 (-0700) Subject: set screen status before and after ddr change freq X-Git-Tag: firefly_0821_release~4997 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=636a601b70a457a23b06c83ff93fbf0ffa2180e2;p=firefly-linux-kernel-4.4.55.git set screen status before and after ddr change freq Signed-off-by: 陈亮 --- diff --git a/arch/arm/mach-rockchip/ddr_rk32.c b/arch/arm/mach-rockchip/ddr_rk32.c index 27367cec5b72..79ff71af6881 100755 --- a/arch/arm/mach-rockchip/ddr_rk32.c +++ b/arch/arm/mach-rockchip/ddr_rk32.c @@ -3748,6 +3748,7 @@ static noinline uint32 ddr_change_freq_sram(void *arg) param.freq = freq; param.freq_slew = freq_slew; param.dqstr_value = dqstr_value; + rk_fb_set_prmry_screen_status(SCREEN_PREPARE_DDR_CHANGE); if (screen.lcdc_id == 0) cru_writel(0 | CRU_W_MSK_SETBITS(0xff, 8, 0xff), RK3288_CRU_CLKSELS_CON(27)); @@ -3765,6 +3766,7 @@ static noinline uint32 ddr_change_freq_sram(void *arg) else if (screen.lcdc_id == 1) cru_writel(0 | CRU_W_MSK_SETBITS(dclk_div, 8, 0xff), RK3288_CRU_CLKSELS_CON(29)); + rk_fb_set_prmry_screen_status(SCREEN_UNPREPARE_DDR_CHANGE); #if defined (DDR_CHANGE_FREQ_IN_LCDC_VSYNC) end: