drm/exynos/vidi: embed exynos_drm_crtc directly into context
authorAndrzej Hajda <a.hajda@samsung.com>
Mon, 31 Dec 2018 12:41:04 +0000 (13:41 +0100)
committerAndrzej Hajda <a.hajda@samsung.com>
Wed, 20 Mar 2019 11:48:11 +0000 (12:48 +0100)
commitf1a1f872ea9909f1c053311e9585887e3b585be0
tree693e83484cba4b1772c715d6bfafd64d1d5e931d
parent3f1e57466087001b58c3489227a7f94d595ce391
drm/exynos/vidi: embed exynos_drm_crtc directly into context

Since crtc maps 1:1 to the device there is no point in allocating it
separately, another benefit is possibility of direct initialisation
of its fields which is more readable and allows further expansion.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_vidi.c