summaryrefslogtreecommitdiff
path: root/src/radeon_probe.h
diff options
context:
space:
mode:
authorairlied <airlied@optimus.localdomain>2006-11-18 15:48:02 +1100
committerDave Airlie <airlied@linux.ie>2006-12-03 16:16:15 +1100
commiteb17c9aed2144701ad7bd1042b2905446e4d708a (patch)
treeb68ed887137ab883607ebafa0aa84f190948628b /src/radeon_probe.h
parent941b5120916ebff69ec0ee4ca7a46105d5306e5d (diff)
move radeon over to not using X's mode management like the intel driver.
this builds and at least seems to pick a mode.. might be near to hooking up randr1.2 soon
Diffstat (limited to 'src/radeon_probe.h')
-rw-r--r--src/radeon_probe.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/radeon_probe.h b/src/radeon_probe.h
index b651e7d..7ec5e65 100644
--- a/src/radeon_probe.h
+++ b/src/radeon_probe.h
@@ -42,6 +42,9 @@
#define _XF86MISC_SERVER_
#include <X11/extensions/xf86misc.h>
+#define RADEON_MAX_CRTC 2
+#define RADEON_MAX_CONNECTOR 2
+
typedef enum
{
DDC_NONE_DETECTED,
@@ -121,6 +124,9 @@ typedef struct
/* one connector can be bound to one CRTC */
int crtc_num;
+
+ /* a list of probed modes on this connector */
+ DisplayModePtr probed_modes;
} RADEONConnector;