radeon: get lvds atombios info

set the correct values from atombios makes LVDS work a lot better
main
Dave Airlie 2008-08-28 16:35:25 +10:00
parent 23cb67dfba
commit 499170ad22
1 changed files with 2 additions and 2 deletions

View File

@ -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->hsync_width = le16_to_cpu(lvds_info->info.sLCDTiming.usHSyncWidth);
encoder->vblank = le16_to_cpu(lvds_info->info.sLCDTiming.usVBlanking_Time); encoder->vblank = le16_to_cpu(lvds_info->info.sLCDTiming.usVBlanking_Time);
encoder->hoverplus = le16_to_cpu(lvds_info->info.sLCDTiming.usVSyncOffset); encoder->voverplus = le16_to_cpu(lvds_info->info.sLCDTiming.usVSyncOffset);
encoder->hsync_width = le16_to_cpu(lvds_info->info.sLCDTiming.usVSyncWidth); encoder->vsync_width = le16_to_cpu(lvds_info->info.sLCDTiming.usVSyncWidth);
encoder->panel_pwr_delay = le16_to_cpu(lvds_info->info.usOffDelayInMs); encoder->panel_pwr_delay = le16_to_cpu(lvds_info->info.usOffDelayInMs);
} }