drm/exynos: atomic check only enabled crtc states
authorAndrzej Hajda <a.hajda@samsung.com>
Fri, 27 Nov 2015 06:57:31 +0000 (07:57 +0100)
committerInki Dae <daeinki@gmail.com>
Sat, 19 Dec 2015 16:39:10 +0000 (01:39 +0900)
commitc4e074074c142bb21b8c3283066d8e6c1fd2baba
tree22488a4c08adf182091fbad9a8e1d071cf70e251
parent6545f3189707c9105fcf160c2da2ddd2dacca331
drm/exynos: atomic check only enabled crtc states

Since atomic check is called also for disabled crtcs it should skip
mode checking as it can be uninitialized. The patch fixes it.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Suggested-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Tested-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_crtc.c