diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2006-09-18 02:21:29 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-09-18 06:19:38 +1000 |
commit | 65cb77c79c2c5cb536494200d4fba6815d7e771c (patch) | |
tree | bed467f4e0e5476181b3bf3a7bde02ec7c119d84 /src/radeon.h | |
parent | 7d9e2b450f0fa42553156f57572a6dab70a0ea13 (diff) |
radeon: restructure files along lines of Alex's superpatch
Diffstat (limited to 'src/radeon.h')
-rw-r--r-- | src/radeon.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/radeon.h b/src/radeon.h index 6402e488..9ad539da 100644 --- a/src/radeon.h +++ b/src/radeon.h @@ -79,6 +79,13 @@ #include "picturestr.h" #endif +#ifndef MAX +#define MAX(a,b) ((a)>(b)?(a):(b)) +#endif +#ifndef MIN +#define MIN(a,b) ((a)>(b)?(b):(a)) +#endif + typedef enum { OPTION_NOACCEL, OPTION_SW_CURSOR, @@ -861,6 +868,16 @@ extern Bool RADEONGetLVDSInfoFromBIOS (ScrnInfoPtr pScrn); extern Bool RADEONGetTMDSInfoFromBIOS (ScrnInfoPtr pScrn); extern Bool RADEONGetHardCodedEDIDFromBIOS (ScrnInfoPtr pScrn); +extern void RADEONInitDispBandwidth(ScrnInfoPtr pScrn); +extern Bool RADEONI2cInit(ScrnInfoPtr pScrn); +extern void RADEONSetSyncRangeFromEdid(ScrnInfoPtr pScrn, int flag); +extern void RADEONGetPanelInfo(ScrnInfoPtr pScrn); +extern void RADEONUnblank(ScrnInfoPtr pScrn); +extern void RADEONBlank(ScrnInfoPtr pScrn); +extern void RADEONDisplayPowerManagementSet(ScrnInfoPtr pScrn, + int PowerManagementMode, + int flags); + #ifdef XF86DRI #ifdef USE_XAA extern void RADEONAccelInitCP(ScreenPtr pScreen, XAAInfoRecPtr a); |