summaryrefslogtreecommitdiff
path: root/src/radeon.h
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.h
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.h')
-rw-r--r--src/radeon.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/radeon.h b/src/radeon.h
index d56d94df..60d56db2 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -186,7 +186,7 @@ typedef enum {
OPTION_SUBPIXEL_ORDER,
#endif
OPTION_SHOWCACHE,
- OPTION_DYNAMIC_CLOCKS,
+ OPTION_CLOCK_GATING,
OPTION_BIOS_HOTKEYS,
OPTION_VGA_ACCESS,
OPTION_REVERSE_DDC,
@@ -1068,6 +1068,9 @@ extern void RADEONInitMemMapRegisters(ScrnInfoPtr pScrn, RADEONSavePtr save,
extern void RADEONRestoreMemMapRegisters(ScrnInfoPtr pScrn,
RADEONSavePtr restore);
+/* radeon_pm.c */
+extern void RADEONSetClockGating(ScrnInfoPtr pScrn, Bool enable);
+
#ifdef USE_EXA
/* radeon_exa.c */
extern Bool RADEONSetupMemEXA(ScreenPtr pScreen);