diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2009-12-22 17:02:16 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-02-08 18:32:26 -0500 |
commit | c913e23a145ae07b6f9f88aae8cd5ad06b5729ff (patch) | |
tree | aebde8632096f5b24f0a1592800e1ec1e7926c0b /drivers/gpu/drm/radeon/radeon_drv.c | |
parent | 18917b60bca094e7830e4046e336d024f73f1c90 (diff) |
drm/radeon/kms: add dynamic engine reclocking (V9)
V2: reorganize functions, fix modesetting calls
V3: rebase patch, use radeon's workqueue
V4: enable on tested chipsets only, request VBLANK IRQs
V5: enable PM on older hardware (IRQs, mode_fixup, dpms)
V6: use separate dynpm module parameter
V7: drop RADEON_ prefix, set minimum mode for dpms off
V8: update legacy encoder call, fix order in rs600 IRQ
V9: update compute_clocks call in legacy, not only DPMS_OFF
Signed-off-by: Rafał Miłecki <zajec5@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, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_drv.c b/drivers/gpu/drm/radeon/radeon_drv.c index 8ba3de7994d4..a9572e6d4d64 100644 --- a/drivers/gpu/drm/radeon/radeon_drv.c +++ b/drivers/gpu/drm/radeon/radeon_drv.c | |||
@@ -87,6 +87,7 @@ 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_audio = 1; | 91 | int radeon_audio = 1; |
91 | 92 | ||
92 | MODULE_PARM_DESC(no_wb, "Disable AGP writeback for scratch registers"); | 93 | MODULE_PARM_DESC(no_wb, "Disable AGP writeback for scratch registers"); |
@@ -125,6 +126,9 @@ module_param_named(tv, radeon_tv, int, 0444); | |||
125 | MODULE_PARM_DESC(new_pll, "Select new PLL code for AVIVO chips"); | 126 | MODULE_PARM_DESC(new_pll, "Select new PLL code for AVIVO chips"); |
126 | module_param_named(new_pll, radeon_new_pll, int, 0444); | 127 | module_param_named(new_pll, radeon_new_pll, int, 0444); |
127 | 128 | ||
129 | MODULE_PARM_DESC(dynpm, "Disable/Enable dynamic power management (1 = enable)"); | ||
130 | module_param_named(dynpm, radeon_dynpm, int, 0444); | ||
131 | |||
128 | MODULE_PARM_DESC(audio, "Audio enable (0 = disable)"); | 132 | MODULE_PARM_DESC(audio, "Audio enable (0 = disable)"); |
129 | module_param_named(audio, radeon_audio, int, 0444); | 133 | module_param_named(audio, radeon_audio, int, 0444); |
130 | 134 | ||