drm/sti: hdmi: automatically check DVI/HDMI mode
authorVincent Abriou <vincent.abriou@st.com>
Thu, 2 Feb 2017 08:45:48 +0000 (09:45 +0100)
committerVincent Abriou <vincent.abriou@st.com>
Fri, 10 Feb 2017 08:34:39 +0000 (09:34 +0100)
commit97d7c576302979831c65a2ae8a0ef4f3acf7f107
tree8519049ce990720bd484ee00c42deaa2e8ba147f
parentb7e05db3d1ff1adf45e2c028ea331e3a999fb56b
drm/sti: hdmi: automatically check DVI/HDMI mode

Remove the hdmi_mode_property and use drm_detect_hdmi_monitor function
to check whether the connected monitor is HDMI capable or DVI only.

Signed-off-by: Vincent Abriou <vincent.abriou@st.com>
drivers/gpu/drm/sti/sti_hdmi.c
drivers/gpu/drm/sti/sti_hdmi.h