summaryrefslogtreecommitdiff
path: root/src/radeon_atombios.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-03-31 17:02:45 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-04-15 11:45:51 -0400
commit68e2a959ccc3d1a5d0731f1b55fdf1b2412635b2 (patch)
tree35dc545df8642d0378067cd11c70bc651093b8e1 /src/radeon_atombios.c
parent336cee0e6d19068582b189b2c747d92cb2139d2f (diff)
Add unified ClockGating Option
- replaces DynamicClocks Option as the name was misleading - unified interface for atom and com based bioses - fix up clock gating code for newer r3xx asics
Diffstat (limited to 'src/radeon_atombios.c')
-rw-r--r--src/radeon_atombios.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_atombios.c b/src/radeon_atombios.c
index a657fac7..e32f7ba4 100644
--- a/src/radeon_atombios.c
+++ b/src/radeon_atombios.c
@@ -524,7 +524,7 @@ rhdAtomASICInit(atomBiosHandlePtr handle)
}
int
-atombios_dyn_clk_setup(ScrnInfoPtr pScrn, int enable)
+atombios_clk_gating_setup(ScrnInfoPtr pScrn, Bool enable)
{
RADEONInfoPtr info = RADEONPTR(pScrn);
DYNAMIC_CLOCK_GATING_PS_ALLOCATION dynclk_data;
@@ -548,7 +548,7 @@ atombios_dyn_clk_setup(ScrnInfoPtr pScrn, int enable)
}
int
-atombios_static_pwrmgt_setup(ScrnInfoPtr pScrn, int enable)
+atombios_static_pwrmgt_setup(ScrnInfoPtr pScrn, Bool enable)
{
RADEONInfoPtr info = RADEONPTR(pScrn);
ENABLE_ASIC_STATIC_PWR_MGT_PS_ALLOCATION pwrmgt_data;