diff options
author | Haojian Zhuang <haojian.zhuang@linaro.org> | 2013-08-27 23:51:13 +0800 |
---|---|---|
committer | Haojian Zhuang <haojian.zhuang@linaro.org> | 2013-08-27 23:51:13 +0800 |
commit | 58d4ed66be6a8895ed217943f75145ff35b2c31b (patch) | |
tree | 92ce065d1ba3a4b0bc24c2c8fb56370b0b6524e5 | |
parent | e84be72e816fa03b02a2c1e8c582ad80d934d0d4 (diff) |
fb: hi3620: fix to update edc for double buffertracking-hilt-fb-0827
The LCD panel is alwaysing flicker when android is running. There's no
similiar issue for testing FB driver only. It's caused by not updating
edc configuration bit when switching double buffer in fb driver.
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
-rw-r--r-- | drivers/video/hisilicon/hi3620_fb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/hisilicon/hi3620_fb.c b/drivers/video/hisilicon/hi3620_fb.c index 21d8e7f3025a..634ad1375b1f 100644 --- a/drivers/video/hisilicon/hi3620_fb.c +++ b/drivers/video/hisilicon/hi3620_fb.c @@ -433,6 +433,7 @@ static int hi3620fb_set_par(struct fb_info *fb) set_panel_control(fb); set_screen_dimensions(fb); set_dma_control(fb); + update_edc(base); return 0; } @@ -443,6 +444,7 @@ static int hi3620fb_pan_display(struct fb_var_screeninfo *var, void __iomem *base = info->reg_base; set_graphics_start(fb, var->xoffset, var->yoffset); + update_edc(base); return 0; } |