From: zwl Date: Fri, 9 May 2014 03:51:31 +0000 (+0800) Subject: rk drm fb: add init overscan value X-Git-Tag: firefly_0821_release~5315 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2baeb11265d0b10d630fbf4d2ca1518f08bf8438;p=firefly-linux-kernel-4.4.55.git rk drm fb: add init overscan value --- diff --git a/drivers/video/rockchip/rk_drm_fb.c b/drivers/video/rockchip/rk_drm_fb.c index 41e7bfa00bbb..6381615b41ce 100755 --- a/drivers/video/rockchip/rk_drm_fb.c +++ b/drivers/video/rockchip/rk_drm_fb.c @@ -335,6 +335,10 @@ static int init_lcdc_device_driver(struct rk_drm_screen_private *screen_priv, screen->screen_id = 0; screen->lcdc_id = dev_drv->id; + screen->overscan.left = 100; + screen->overscan.top = 100; + screen->overscan.right = 100; + screen->overscan.bottom = 100; dev_drv->screen0 = screen; dev_drv->cur_screen = screen; /* devie use one lcdc + rk61x scaler for dual display*/