From: yxj Date: Wed, 6 Feb 2013 05:35:00 +0000 (+0800) Subject: rk fb:set xvir for exteranl display when set main fb xvir change X-Git-Tag: firefly_0821_release~7620 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=537290edac96e1e92db21789dc7d955ab6e93814;p=firefly-linux-kernel-4.4.55.git rk fb:set xvir for exteranl display when set main fb xvir change --- diff --git a/drivers/video/rockchip/rk_fb.c b/drivers/video/rockchip/rk_fb.c index b7aeb7fa4255..1f17becf8111 100644 --- a/drivers/video/rockchip/rk_fb.c +++ b/drivers/video/rockchip/rk_fb.c @@ -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);