]> 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)
commitbf88e4301538178eaedf976eaf1fe3a5b054f16a
tree24e4613b1672cbe70cf17703ed1b40bb6b7158b4
parentb817969ae7d3198dac38ca616e6f35ad07aa77c2
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