aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-10-27 11:16:09 -0400
committerDave Airlie <airlied@redhat.com>2009-10-27 23:34:18 -0400
commit8f552a66a40bcc6e903e91310f42fe140e0342c4 (patch)
tree333324852853075bbcdd0962f7567e82a42ec1dc /drivers
parent3e5cb98dfe87cc61d0a1119dd8aa2b1e4cfab424 (diff)
drm/radeon/kms/atom: loosen pll min output limits
Limiting the pll output range is a good thing generally as it limits the number of possible pll combinations for a given frequency presumably to the ones that work best on each card. That's why the limits are in the bios tables. However, certain duallink DVI monitors seem to like pll combinations that would be limited by this at least on pre-DCE 3.0 r6xx hardware. This might need to be adjusted per family or per clock range in the future. See fdo bug 24727. Signed-off-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/radeon/radeon_atombios.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_atombios.c b/drivers/gpu/drm/radeon/radeon_atombios.c
index 18729259c2fc..1c9a9c461762 100644
--- a/drivers/gpu/drm/radeon/radeon_atombios.c
+++ b/drivers/gpu/drm/radeon/radeon_atombios.c
@@ -655,6 +655,16 @@ bool radeon_atom_get_clock_info(struct drm_device *dev)
655 p1pll->pll_out_min = 64800; 655 p1pll->pll_out_min = 64800;
656 else 656 else
657 p1pll->pll_out_min = 20000; 657 p1pll->pll_out_min = 20000;
658 } else if (p1pll->pll_out_min > 64800) {
659 /* Limiting the pll output range is a good thing generally as
660 * it limits the number of possible pll combinations for a given
661 * frequency presumably to the ones that work best on each card.
662 * However, certain duallink DVI monitors seem to like
663 * pll combinations that would be limited by this at least on
664 * pre-DCE 3.0 r6xx hardware. This might need to be adjusted per
665 * family.
666 */
667 p1pll->pll_out_min = 64800;
658 } 668 }
659 669
660 p1pll->pll_in_min = 670 p1pll->pll_in_min =