summaryrefslogtreecommitdiff
path: root/src/radeon_atombios.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-04-04 11:39:35 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-04-15 11:45:53 -0400
commit4b3a3785f7b06205eeec6ca6b8913ecc2b94bd1f (patch)
tree7e21724ea32fad99c1d8d0f9a990ceed5864a65e /src/radeon_atombios.c
parent63cb57c5eb0d6bc083f54eb100cb972b0e7bca69 (diff)
Unify ForceLowPowerMode and DynamicPM Options
Force lower power mode and switch to a lower mode when idle.
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 f6fe9615..e2348a43 100644
--- a/src/radeon_atombios.c
+++ b/src/radeon_atombios.c
@@ -572,7 +572,7 @@ atombios_static_pwrmgt_setup(ScrnInfoPtr pScrn, Bool enable)
}
int
-atombios_set_engine_clock(ScrnInfoPtr pScrn, int engclock)
+atombios_set_engine_clock(ScrnInfoPtr pScrn, uint32_t engclock)
{
RADEONInfoPtr info = RADEONPTR(pScrn);
SET_ENGINE_CLOCK_PS_ALLOCATION eng_clock_ps;
@@ -597,7 +597,7 @@ atombios_set_engine_clock(ScrnInfoPtr pScrn, int engclock)
}
int
-atombios_set_memory_clock(ScrnInfoPtr pScrn, int memclock)
+atombios_set_memory_clock(ScrnInfoPtr pScrn, uint32_t memclock)
{
RADEONInfoPtr info = RADEONPTR(pScrn);
SET_MEMORY_CLOCK_PS_ALLOCATION mem_clock_ps;