drm/exynos: init vblank with real number of crtcs
authorAndrzej Hajda <a.hajda@samsung.com>
Tue, 7 Oct 2014 13:09:14 +0000 (22:09 +0900)
committerInki Dae <daeinki@gmail.com>
Sun, 2 Nov 2014 16:51:27 +0000 (01:51 +0900)
commitc52142e6a88da1152ec7c3f887aedee4e50b2d56
tree8362fb8b4b173cbc65942d89c3cf22fe6ad82458
parent10a8fce846c1b12ebb29b036d1a15efc65eddbb5
drm/exynos: init vblank with real number of crtcs

Initialization of vblank with MAX_CRTC caused attempts
to disabling vblanks for non-existing crtcs in case
drm used fewer crtcs. The patch fixes it.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_drv.c