]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos: initialize VIDCON0 when fimd is disabled
authorJoonyoung Shim <jy0922.shim@samsung.com>
Fri, 12 Jun 2015 08:27:16 +0000 (17:27 +0900)
committerInki Dae <daeinki@gmail.com>
Fri, 19 Jun 2015 15:32:59 +0000 (00:32 +0900)
commit3718be5dd61ba0148f6be165a315bae7527e7f7b
tree40470f6581cc5a67ed24118d608d96e6ebc6bbd6
parent5382ba963f40a18eea0ad1cadfba77cbad9866ff
drm/exynos: initialize VIDCON0 when fimd is disabled

When the fimd is disabled by fimd_disable(), enabled overlay layers also
are disabled. If clocks for fimd are enabled by fimd_enable() on this
case, it can lead IOMMU page fault. The reason is that VIDCON0_ENVID and
VIDCON0_ENVID_F bits of VIDCON0 register are set still even though fimd
is disabled, so it may continue display output of prior when clocks for
fimd are enabled again.

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_fimd.c