diff options
author | Francisco Jerez <currojerez@riseup.net> | 2011-02-03 01:56:32 +0100 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-02-17 09:39:58 +1000 |
commit | 77b1d5dc119f9b72bcfbb49d2431fd3679382dab (patch) | |
tree | 79e25d9825ac621f05947debf61e46928f6edfa4 /drivers | |
parent | 87886221471495c26d517a7b3ce7c7aa56cc854f (diff) | |
download | linux-stable-77b1d5dc119f9b72bcfbb49d2431fd3679382dab.tar.gz linux-stable-77b1d5dc119f9b72bcfbb49d2431fd3679382dab.tar.bz2 linux-stable-77b1d5dc119f9b72bcfbb49d2431fd3679382dab.zip |
drm/nouveau: Fix detection of DDC-based LVDS on DCB15 boards.
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_bios.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_bios.c b/drivers/gpu/drm/nouveau/nouveau_bios.c index c85a71596688..6faf3cfc74b9 100644 --- a/drivers/gpu/drm/nouveau/nouveau_bios.c +++ b/drivers/gpu/drm/nouveau/nouveau_bios.c @@ -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; |