rk fb:set xvir for exteranl display when set main fb xvir change
authoryxj <yxj@rock-chips.com>
Wed, 6 Feb 2013 05:35:00 +0000 (13:35 +0800)
committeryxj <yxj@rock-chips.com>
Wed, 6 Feb 2013 05:36:12 +0000 (13:36 +0800)
drivers/video/rockchip/rk_fb.c

index b7aeb7fa42552eebd79cf40d40dbd59ef2126810..1f17becf81114b0cf9bbab2d6fe58b66e89423ef 100644 (file)
@@ -552,6 +552,7 @@ static int rk_fb_set_par(struct fb_info *info)
                                        par2->xact = par->xact;
                                        par2->yact = par->yact;
                                        par2->format = par->format;
+                                       par2->xvir = par->xvir;
                                        info2->var.nonstd &= 0xffffff00;
                                        info2->var.nonstd |= data_format;
                                        dev_drv1->set_par(dev_drv1,layer_id);