Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 168475
b: refs/heads/master
c: d56ef9c
h: refs/heads/master
i:
  168473: 9ca1d52
  168471: cfd9525
v: v3
  • Loading branch information
Alex Deucher authored and Dave Airlie committed Oct 28, 2009
1 parent fa1f93c commit a4b09b8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8f552a66a40bcc6e903e91310f42fe140e0342c4
refs/heads/master: d56ef9c8fd34ed29ffae27598a864b4a9a82521b
10 changes: 8 additions & 2 deletions trunk/drivers/gpu/drm/radeon/atombios_crtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -483,8 +483,14 @@ void atombios_crtc_set_pll(struct drm_crtc *crtc, struct drm_display_mode *mode)
atom_execute_table(rdev->mode_info.atom_context,
index, (uint32_t *)&adjust_pll_args);
adjusted_clock = le16_to_cpu(adjust_pll_args.usPixelClock) * 10;
} else
adjusted_clock = mode->clock;
} else {
/* DVO wants 2x pixel clock if the DVO chip is in 12 bit mode */
if (ASIC_IS_AVIVO(rdev) &&
(radeon_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DVO1))
adjusted_clock = mode->clock * 2;
else
adjusted_clock = mode->clock;
}

if (radeon_crtc->crtc_id == 0)
pll = &rdev->clock.p1pll;
Expand Down

0 comments on commit a4b09b8

Please sign in to comment.