drm/nv50: fix regression that break LVDS in some places

A previous commit started additionally using the SOR link when trying to
match the correct output script.  However, we never fill in this field
for LVDS so we can never match a script at all.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
Ben Skeggs 2010-07-16 16:17:27 +10:00
parent a6ed76d7ff
commit c58754703c

View File

@ -5627,6 +5627,7 @@ parse_dcb20_entry(struct drm_device *dev, struct dcb_table *dcb,
entry->lvdsconf.use_acpi_for_edid = true; entry->lvdsconf.use_acpi_for_edid = true;
if (conf & 0x4) if (conf & 0x4)
entry->lvdsconf.use_power_scripts = true; entry->lvdsconf.use_power_scripts = true;
entry->lvdsconf.sor.link = (conf & 0x00000030) >> 4;
} }
if (conf & mask) { if (conf & mask) {
/* /*