radeon: add more HDMI bits
authorDave Airlie <airlied@redhat.com>
Sun, 2 Nov 2008 23:49:59 +0000 (09:49 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 2 Nov 2008 23:49:59 +0000 (09:49 +1000)
linux-core/radeon_display.c

index f16288e..0b9467f 100644 (file)
@@ -263,7 +263,9 @@ bool radeon_setup_enc_conn(struct drm_device *dev)
 
                /* TMDS on DVI */
                if ((mode_info->bios_connector[i].connector_type == CONNECTOR_DVI_I) ||
-                   (mode_info->bios_connector[i].connector_type == CONNECTOR_DVI_D)) {
+                   (mode_info->bios_connector[i].connector_type == CONNECTOR_DVI_D) ||
+                   (mode_info->bios_connector[i].connector_type == CONNECTOR_HDMI_TYPE_A) ||
+                   (mode_info->bios_connector[i].connector_type == CONNECTOR_HDMI_TYPE_B)) {
                        if (radeon_is_avivo(dev_priv) || radeon_r4xx_atom)
                                encoder = radeon_encoder_atom_tmds_add(dev, i, mode_info->bios_connector[i].tmds_type);
                        else {