]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos: fimd: clear channel before enabling iommu
authorAkshu Agrawal <akshu.a@samsung.com>
Mon, 28 Apr 2014 12:26:39 +0000 (21:26 +0900)
committerInki Dae <daeinki@gmail.com>
Sun, 1 Jun 2014 17:07:03 +0000 (02:07 +0900)
commit506d72099c92d8afd31458b2c6bee29b45d17bc9
tree8b84b8e809e58ac05d94193a880affdde3c29a52
parent5bff23ead394d5140e5e126bbcdc05e7fefb2148
drm/exynos: fimd: clear channel before enabling iommu

If any fimd channel was already active, initializing iommu will result
in a PAGE FAULT (e.e. u-boot could have turned on the display and
not disabled it before the kernel starts). This patch checks if any
channel is active before initializing iommu and disables it.

Signed-off-by: Akshu Agrawal <akshu.a@samsung.com>
Signed-off-by: Prathyush K <prathyush.k@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_fimd.c