• Joonyoung Shim's avatar
    drm/exynos: add dpms for hdmi · cf8fc4f1
    Joonyoung Shim authored
    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: default avatarJoonyoung Shim <jy0922.shim@samsung.com>
    Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
    Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
    cf8fc4f1
exynos_drm_hdmi.c 9.07 KB