rk drm fb: add init overscan value
authorzwl <zwl@rock-chips.com>
Fri, 9 May 2014 03:51:31 +0000 (11:51 +0800)
committerzwl <zwl@rock-chips.com>
Fri, 9 May 2014 03:51:31 +0000 (11:51 +0800)
drivers/video/rockchip/rk_drm_fb.c

index 41e7bfa00bbbac9bd7a303bd52ab9c9b9978674c..6381615b41ce175fdbd5e5dd176bb000ac0e76cf 100755 (executable)
@@ -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*/