Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228617
b: refs/heads/master
c: 7a868e1
h: refs/heads/master
i:
  228615: b5373da
v: v3
  • Loading branch information
Alex Deucher authored and Dave Airlie committed Dec 21, 2010
1 parent 5729f63 commit fa0b72b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 000fa7cf46479238f7b9f2d7763e41af5268b16a
refs/heads/master: 7a868e18a4907dc8f1f05d99bcb9fd3fa8881ee4
3 changes: 3 additions & 0 deletions trunk/drivers/gpu/drm/radeon/radeon_atombios.c
Original file line number Diff line number Diff line change
Expand Up @@ -1500,6 +1500,9 @@ struct radeon_encoder_atom_dig *radeon_atombios_get_lvds_info(struct
if (misc & ATOM_DOUBLE_CLOCK_MODE)
lvds->native_mode.flags |= DRM_MODE_FLAG_DBLSCAN;

lvds->native_mode.width_mm = lvds_info->info.sLCDTiming.usImageHSize;
lvds->native_mode.height_mm = lvds_info->info.sLCDTiming.usImageVSize;

/* set crtc values */
drm_mode_set_crtcinfo(&lvds->native_mode, CRTC_INTERLACE_HALVE_V);

Expand Down
3 changes: 3 additions & 0 deletions trunk/drivers/gpu/drm/radeon/radeon_connectors.c
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,9 @@ static int radeon_lvds_get_modes(struct drm_connector *connector)
if (mode) {
ret = 1;
drm_mode_probed_add(connector, mode);
/* add the width/height from vbios tables if available */
connector->display_info.width_mm = mode->width_mm;
connector->display_info.height_mm = mode->height_mm;
/* add scaled modes */
radeon_add_common_modes(encoder, connector);
}
Expand Down

0 comments on commit fa0b72b

Please sign in to comment.