Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 242309
b: refs/heads/master
c: 64146f8
h: refs/heads/master
i:
  242307: c32c053
v: v3
  • Loading branch information
Alex Deucher authored and Dave Airlie committed Mar 23, 2011
1 parent f4c1f30 commit 6fede73
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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: fb3b06c8a1fd1a80298f13b738ab38ef8c73baff
refs/heads/master: 64146f8b2af1ba77fe3c21d9d6d7213b9bb72b40
6 changes: 5 additions & 1 deletion trunk/drivers/gpu/drm/radeon/atombios_crtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -957,7 +957,11 @@ static void atombios_crtc_set_pll(struct drm_crtc *crtc, struct drm_display_mode
/* adjust pixel clock as needed */
adjusted_clock = atombios_adjust_pll(crtc, mode, pll, ss_enabled, &ss);

if (ASIC_IS_AVIVO(rdev))
if (radeon_encoder->active_device & (ATOM_DEVICE_TV_SUPPORT))
/* TV seems to prefer the legacy algo on some boards */
radeon_compute_pll_legacy(pll, adjusted_clock, &pll_clock, &fb_div, &frac_fb_div,
&ref_div, &post_div);
else if (ASIC_IS_AVIVO(rdev))
radeon_compute_pll_avivo(pll, adjusted_clock, &pll_clock, &fb_div, &frac_fb_div,
&ref_div, &post_div);
else
Expand Down

0 comments on commit 6fede73

Please sign in to comment.