]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos: simplify calculation of possible CRTCs
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 5 Aug 2015 23:24:15 +0000 (20:24 -0300)
committerInki Dae <inki.dae@samsung.com>
Sun, 16 Aug 2015 01:23:36 +0000 (10:23 +0900)
commit89d7ae1c3ff82e55f86238a1417de40fc89bddd0
tree24e4613b1672cbe70cf17703ed1b40bb6b7158b4
parent27b3a79bc6c7f703bf4dee38139a558ede515559
drm/exynos: simplify calculation of possible CRTCs

All CRTCs can only be LCD, HDMI or VIDI, so basically all CRTCs will be a
possible CRTCs. This patch removes an extra function with switch that was
only checking if the CRTC type was one of those three above.

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_encoder.c