drm/exynos: switch to universal plane API
authorAndrzej Hajda <a.hajda@samsung.com>
Fri, 19 Sep 2014 12:58:53 +0000 (14:58 +0200)
committerInki Dae <daeinki@gmail.com>
Fri, 19 Sep 2014 16:17:53 +0000 (01:17 +0900)
commit72ed6ccd086f679aa61c79cd3af733756b72429e
treebcc5a8306a7c69f0a6e9138304c7f7fa04053814
parent832316c704fe3d15ae6ca9a552ae80411d1bbbcd
drm/exynos: switch to universal plane API

The patch replaces legacy functions
drm_plane_init() / drm_crtc_init() with
drm_universal_plane_init() and drm_crtc_init_with_planes().
It allows to replace fake primary plane with the real one.
Additionally the patch leaves cleanup of crtcs to core,
this way planes and crtcs are cleaned in correct order.

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