From: Mark Yao Date: Tue, 19 Jan 2016 04:48:37 +0000 (+0800) Subject: video: rk_fb: fix ymirror for kernel logo X-Git-Tag: firefly_0821_release~3474 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=810a6c3735f3f37801284256fd3a5d5d9ae2b99f;p=firefly-linux-kernel-4.4.55.git video: rk_fb: fix ymirror for kernel logo kernel logo not use ymirror now, so if uboot logo use ymirror, we need close it when switch to kernel logo, otherwise, would get iommu crash Change-Id: I4a607f75ada4cf6454c7e0f4614b629ef747e851 Signed-off-by: Mark Yao --- diff --git a/drivers/video/rockchip/rk_fb.c b/drivers/video/rockchip/rk_fb.c index cda6a811873c..fa5c8a1c36f5 100644 --- a/drivers/video/rockchip/rk_fb.c +++ b/drivers/video/rockchip/rk_fb.c @@ -4190,6 +4190,7 @@ int rk_fb_register(struct rk_lcdc_driver *dev_drv, xact, yact, width, height); return 0; } + ymirror = 0; local_irq_save(flags); if (dev_drv->ops->wait_frame_start) dev_drv->ops->wait_frame_start(dev_drv, 0);