summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-08-28 16:35:25 +1000
committerDave Airlie <airlied@redhat.com>2008-08-28 16:35:25 +1000
commit499170ad22aaf087fc01fdcf799035819becd571 (patch)
treec2153ed068f721396db0231284a8c959d612e984
parent23cb67dfbabe8c76ffd86b6c01abacc027d0fb72 (diff)
radeon: get lvds atombios info
set the correct values from atombios makes LVDS work a lot better
-rw-r--r--linux-core/radeon_atombios.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/radeon_atombios.c b/linux-core/radeon_atombios.c
index ca287bca..10e3a77d 100644
--- a/linux-core/radeon_atombios.c
+++ b/linux-core/radeon_atombios.c
@@ -332,8 +332,8 @@ void radeon_get_lvds_info(struct radeon_encoder *encoder)
encoder->hsync_width = le16_to_cpu(lvds_info->info.sLCDTiming.usHSyncWidth);
encoder->vblank = le16_to_cpu(lvds_info->info.sLCDTiming.usVBlanking_Time);
- encoder->hoverplus = le16_to_cpu(lvds_info->info.sLCDTiming.usVSyncOffset);
- encoder->hsync_width = le16_to_cpu(lvds_info->info.sLCDTiming.usVSyncWidth);
+ encoder->voverplus = le16_to_cpu(lvds_info->info.sLCDTiming.usVSyncOffset);
+ encoder->vsync_width = le16_to_cpu(lvds_info->info.sLCDTiming.usVSyncWidth);
encoder->panel_pwr_delay = le16_to_cpu(lvds_info->info.usOffDelayInMs);
}