]> git.openfabrics.org - ~emulex/infiniband.git/commit
drm/exynos: add dpms for hdmi
authorJoonyoung Shim <jy0922.shim@samsung.com>
Mon, 23 Apr 2012 10:35:50 +0000 (19:35 +0900)
committerInki Dae <inki.dae@samsung.com>
Tue, 8 May 2012 09:46:33 +0000 (18:46 +0900)
commitcf8fc4f10e2c5c5b6b60d6e79d61cc58afa5967d
tree74cdc233ce54eb37ef67e7fec7af5ee2bf75911f
parent66265a2e8e867a9c5ce63e5f883cf751b35b66d5
drm/exynos: add dpms for hdmi

The power and clocks turns on always in exynos hdmi and mixer driver,
but we should turn off the power and clocks of exynos hdmi and mixer
when the hdmi cable unplugged or when hdmi unused.

There are two interrupt to detect hotplug of hdmi cable - internal
interrupt and external interrupt. The internal interrupt can use only
when hdmi is dpms on so if hdmi is dpms off, we should use external
interrupt to detect hotplug of hdmi cable. If hdmi is dpms on, we cannot
external interrupt because the gpio pin for external interrupt is used
to hdmi HPD pin for internal interrupt.

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_hdmi.c
drivers/gpu/drm/exynos/exynos_drm_hdmi.h
drivers/gpu/drm/exynos/exynos_hdmi.c
drivers/gpu/drm/exynos/exynos_mixer.c