From 810a6c3735f3f37801284256fd3a5d5d9ae2b99f Mon Sep 17 00:00:00 2001 From: Mark Yao Date: Tue, 19 Jan 2016 12:48:37 +0800 Subject: [PATCH] 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 --- drivers/video/rockchip/rk_fb.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.34.1