drm: bridge/dw_hdmi: clean up HDMI vs DVI mode handling
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 21 Jul 2015 14:35:52 +0000 (15:35 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 18 Aug 2015 10:32:38 +0000 (11:32 +0100)
commit05b1342f5014b7c100834ae179dd90d1a1da7366
treef6deceb05903e1ca07d9c712f3912596c04b8c6a
parent8add41900e2177b20c28b64d13d8da8088c9606b
drm: bridge/dw_hdmi: clean up HDMI vs DVI mode handling

The FSL kernel detects the HDMI vendor id, and uses this to set
hdmi->edid_cfg.hdmi_cap, which is then used to set mdvi appropriately,
rather than detecting whether we are outputting a CEA mode.  Update
the dw_hdmi code to use this logic, but lets eliminate the mdvi
variable, prefering the more verbose "hdmi->sink_is_hdmi" instead.

Use the generic drm_detect_hdmi_monitor() to detect a HDMI sink.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/gpu/drm/bridge/dw_hdmi.c
This page took 0.02548 seconds and 5 git commands to generate.