summaryrefslogtreecommitdiff
path: root/src/radeon.h
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-04-01 15:05:38 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-04-15 11:45:52 -0400
commit7e10b6222e8f44a3ecc6aaea55a7a7680d133bb3 (patch)
tree226438748f0e626ed6648037249de7a84590a897 /src/radeon.h
parent533d01a5933cd491bbc09cd463ea62475abf4bf2 (diff)
Add ForceLowPowerMode Option
Force the chip to a low power mode at the expense of performance.
Diffstat (limited to 'src/radeon.h')
-rw-r--r--src/radeon.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/radeon.h b/src/radeon.h
index 60d56db2..88de0e8f 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -207,7 +207,8 @@ typedef enum {
OPTION_INT10,
OPTION_EXA_VSYNC,
OPTION_ATOM_TVOUT,
- OPTION_R4XX_ATOM
+ OPTION_R4XX_ATOM,
+ OPTION_FORCE_LOW_POWER
} RADEONOpts;
@@ -891,6 +892,9 @@ typedef struct {
Bool r4xx_atom;
+ /* pm */
+ Bool low_power_mode;
+
} RADEONInfoRec, *RADEONInfoPtr;
#define RADEONWaitForFifo(pScrn, entries) \
@@ -1070,6 +1074,7 @@ extern void RADEONRestoreMemMapRegisters(ScrnInfoPtr pScrn,
/* radeon_pm.c */
extern void RADEONSetClockGating(ScrnInfoPtr pScrn, Bool enable);
+extern void RADEONStaticLowPowerMode(ScrnInfoPtr pScrn, Bool enable);
#ifdef USE_EXA
/* radeon_exa.c */