drm/exynos: add helper to get crtc from pipe
authorAndrzej Hajda <a.hajda@samsung.com>
Wed, 23 Mar 2016 13:25:57 +0000 (14:25 +0100)
committerInki Dae <daeinki@gmail.com>
Fri, 29 Apr 2016 16:04:22 +0000 (01:04 +0900)
commit2701932899e91d92fcc41111b6eb6d37cc09e825
tree4e31815132d7615d92f10f25409634bf182912b1
parent3d30ec54c928c5920ddf13fbbd677d7c76b8cb53
drm/exynos: add helper to get crtc from pipe

The helper abstracts out conversion from pipeline
to crtc. Currently it is used in two places, but
there will be more uses in next patches.

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.h