~ubuntu-branches/ubuntu/wily/linux-ti-omap4/wily

« back to all changes in this revision

Viewing changes to drivers/gpu/drm/i915/intel_sdvo.c

  • Committer: Package Import Robot
  • Author(s): Paolo Pisati, Paolo Pisati
  • Date: 2013-07-11 18:35:20 UTC
  • Revision ID: package-import@ubuntu.com-20130711183520-htnf1x4y5r11hndr
Tags: 3.5.0-229.42
* Release Tracking Bug
  - LP: #1199276

[ Paolo Pisati ]

* [Config] CONFIG_ATH9K_LEGACY_RATE_CONTROL is not set

Show diffs side-by-side

added added

removed removed

Lines of Context:
1592
1592
         * Assume that the preferred modes are
1593
1593
         * arranged in priority order.
1594
1594
         */
1595
 
        intel_ddc_get_modes(connector, intel_sdvo->i2c);
1596
 
        if (list_empty(&connector->probed_modes) == false)
1597
 
                goto end;
 
1595
        intel_ddc_get_modes(connector, &intel_sdvo->ddc);
1598
1596
 
1599
 
        /* Fetch modes from VBT */
 
1597
        /*
 
1598
         * Fetch modes from VBT. For SDVO prefer the VBT mode since some
 
1599
         * SDVO->LVDS transcoders can't cope with the EDID mode. Since
 
1600
         * drm_mode_probed_add adds the mode at the head of the list we add it
 
1601
         * last.
 
1602
         */
1600
1603
        if (dev_priv->sdvo_lvds_vbt_mode != NULL) {
1601
1604
                newmode = drm_mode_duplicate(connector->dev,
1602
1605
                                             dev_priv->sdvo_lvds_vbt_mode);
1608
1611
                }
1609
1612
        }
1610
1613
 
1611
 
end:
1612
1614
        list_for_each_entry(newmode, &connector->probed_modes, head) {
1613
1615
                if (newmode->type & DRM_MODE_TYPE_PREFERRED) {
1614
1616
                        intel_sdvo->sdvo_lvds_fixed_mode =