drm/exynos/hdmi: fix pipeline disable order
authorAndrzej Hajda <a.hajda@samsung.com>
Fri, 19 May 2017 08:27:08 +0000 (17:27 +0900)
committerInki Dae <inki.dae@samsung.com>
Thu, 1 Jun 2017 07:21:36 +0000 (16:21 +0900)
commit625e63e27c5bec5bbcec8aeaea82d0b1975d2cf4
treeb9b8584d8fa1ebfdbcba15b902f6e82a40028e95
parentb2adc5307514abe5872185351f772b95cfdce2ff
drm/exynos/hdmi: fix pipeline disable order

Hardware require that MIXER(crtc) should be disabled prior to
HDMI(encoder). It was achieved by disabling crtc from encoder disable
callback, bypassing drm core. As a result drm core tried to call vblank
related routines on disabled crtc. The patch fixes it by simplifying
hdmi_disable routine - now it only cancels hotplug worker. Hardware will
be disabled in proper moment during pipe clock disable.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_hdmi.c