drm/exynos/decon5433: just return if decon is disable in decon_commit()
authorJoonyoung Shim <jy0922.shim@samsung.com>
Tue, 2 Aug 2016 05:40:24 +0000 (14:40 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 14 Dec 2016 04:52:02 +0000 (13:52 +0900)
commit0608bd8b9a5fe0fb54ecbd2dcc99e20b89091804
tree1b662d07d435b8c4b8c9e909da91253219fbec99
parent9239398bfe6198555c804b4be6e924772fd035f1
drm/exynos/decon5433: just return if decon is disable in decon_commit()

The decon_commit() can be called before decon is enabled if atomic
patches are applied at exynos drm, then it will cause kernel panic.
Already decon drm driver of mainline is considering this case.

Change-Id: I3f3b02ec71e7e928042561f1d35196fe5dfce643
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
drivers/gpu/drm/exynos/exynos5433_drm_decon.c