diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-02-23 03:24:38 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-02-24 20:38:06 -0500 |
commit | 383be5d1789d9a7a2e77dca1cb0aca89507d069e (patch) | |
tree | e99787c96586748c9ce78fbd10d8859c648fabc0 /drivers/gpu/drm/radeon/radeon_drv.c | |
parent | 939461d59d6ac4e5142f767d24810c9b4b5caa38 (diff) |
drm/radeon/kms: update new pll algo
- add support for pre-avivo chips
- add support for fixed post/ref dividers
- add support for non-fractional fb dividers
By default avivo chips use the new algo and
pre-avivo chips use the old algo. Use the "new_pll"
module option to toggle between them.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_drv.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_drv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_drv.c b/drivers/gpu/drm/radeon/radeon_drv.c index a9572e6d4d64..be99d4e55a34 100644 --- a/drivers/gpu/drm/radeon/radeon_drv.c +++ b/drivers/gpu/drm/radeon/radeon_drv.c | |||
@@ -86,7 +86,7 @@ int radeon_benchmarking = 0; | |||
86 | int radeon_testing = 0; | 86 | int radeon_testing = 0; |
87 | int radeon_connector_table = 0; | 87 | int radeon_connector_table = 0; |
88 | int radeon_tv = 1; | 88 | int radeon_tv = 1; |
89 | int radeon_new_pll = 1; | 89 | int radeon_new_pll = -1; |
90 | int radeon_dynpm = -1; | 90 | int radeon_dynpm = -1; |
91 | int radeon_audio = 1; | 91 | int radeon_audio = 1; |
92 | 92 | ||
@@ -123,7 +123,7 @@ module_param_named(connector_table, radeon_connector_table, int, 0444); | |||
123 | MODULE_PARM_DESC(tv, "TV enable (0 = disable)"); | 123 | MODULE_PARM_DESC(tv, "TV enable (0 = disable)"); |
124 | module_param_named(tv, radeon_tv, int, 0444); | 124 | module_param_named(tv, radeon_tv, int, 0444); |
125 | 125 | ||
126 | MODULE_PARM_DESC(new_pll, "Select new PLL code for AVIVO chips"); | 126 | MODULE_PARM_DESC(new_pll, "Select new PLL code"); |
127 | module_param_named(new_pll, radeon_new_pll, int, 0444); | 127 | module_param_named(new_pll, radeon_new_pll, int, 0444); |
128 | 128 | ||
129 | MODULE_PARM_DESC(dynpm, "Disable/Enable dynamic power management (1 = enable)"); | 129 | MODULE_PARM_DESC(dynpm, "Disable/Enable dynamic power management (1 = enable)"); |