diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-12-09 23:44:25 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-12-10 06:09:05 +0100 |
commit | b27b63750d912e80d61d2120c4a1664062d0f808 (patch) | |
tree | d419533d2b4c7fec1cf4ad89485da755347a33fb /drivers/gpu/drm/radeon/radeon_atombios.c | |
parent | drm/radeon/kms/avivo: fix some bugs in the display bandwidth setup (diff) | |
download | linux-b27b63750d912e80d61d2120c4a1664062d0f808.tar.xz linux-b27b63750d912e80d61d2120c4a1664062d0f808.zip |
drm/radeon/kms/avivo: add support for new pll selection algo
Supported on all AVIVO-based asics.
Can be disabled via the new_pll module parameter:
new_pll=0 - disable
new_pll=1 - enable
enabled by default
[airlied: fixed to use do_div]
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_atombios.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_atombios.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_atombios.c b/drivers/gpu/drm/radeon/radeon_atombios.c index 8737adf6d386..12a0c760e7ff 100644 --- a/drivers/gpu/drm/radeon/radeon_atombios.c +++ b/drivers/gpu/drm/radeon/radeon_atombios.c @@ -871,7 +871,8 @@ bool radeon_atom_get_clock_info(struct drm_device *dev) * pre-DCE 3.0 r6xx hardware. This might need to be adjusted per * family. */ - p1pll->pll_out_min = 64800; + if (!radeon_new_pll) + p1pll->pll_out_min = 64800; } p1pll->pll_in_min = |