drm/nouveau: Fix detection of DDC-based LVDS on DCB15 boards.
authorFrancisco Jerez <currojerez@riseup.net>
Thu, 3 Feb 2011 00:56:32 +0000 (01:56 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 16 Feb 2011 23:39:58 +0000 (09:39 +1000)
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_bios.c

index c85a71596688ecd91795c69165fcbd16c904e62f..6faf3cfc74b973cfaaa17a44923350dd5f64cdcb 100644 (file)
@@ -6228,7 +6228,7 @@ parse_dcb15_entry(struct drm_device *dev, struct dcb_table *dcb,
                entry->tvconf.has_component_output = false;
                break;
        case OUTPUT_LVDS:
-               if ((conn & 0x00003f00) != 0x10)
+               if ((conn & 0x00003f00) >> 8 != 0x10)
                        entry->lvdsconf.use_straps_for_mode = true;
                entry->lvdsconf.use_power_scripts = true;
                break;