summaryrefslogtreecommitdiff
path: root/src/radeon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/radeon.h')
-rw-r--r--src/radeon.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/radeon.h b/src/radeon.h
index 6402e48..9ad539d 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);