]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/commitdiff
HDMI: Select DVI or HDMI based on EDID
authorDandawate Saket <dsaket@ti.com>
Mon, 29 Apr 2013 06:56:54 +0000 (23:56 -0700)
committerPraneeth Bajjuri <praneeth@ti.com>
Fri, 12 Jul 2013 23:58:15 +0000 (18:58 -0500)
Select HDMI or DVI based on edid bit set.

Change-Id: I27eef1270abc645585e432a61844f00fc57ca4f7
Signed-off-by: Dandawate Saket <dsaket@ti.com>
drivers/video/omap2/dss/hdmi.c

index 6d01b3e0bffbf16ae000e7d55810b95035f3022a..89619568c3ecc7335bcac652e746ffb258200ab2 100755 (executable)
@@ -945,6 +945,8 @@ static int hdmi_power_on_full(struct omap_dss_device *dssdev)
                goto err_phy_enable;
        }
 
+       hdmi.ip_data.cfg.cm.mode = hdmi.can_do_hdmi ? hdmi.mode : HDMI_DVI;
+
        hdmi.ip_data.ops->video_configure(&hdmi.ip_data);
 
        /* bypass TV gamma table */