summaryrefslogtreecommitdiff
path: root/src/radeon_probe.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2006-12-03 11:07:23 +1100
committerDave Airlie <airlied@linux.ie>2006-12-03 11:07:23 +1100
commitddec94e8f2f5746bad0e998d15303e771803d22b (patch)
tree3a804fec2c0c09d64ead98f655133fb932d44305 /src/radeon_probe.h
parent218cb7f8db35d0ce8f9fc4ece72bd5ec3f52106f (diff)
move crtc to connector mapping to a connector to crtc mapping.
Still not allowing any clone modes, but heading in the correct direction I hope... there is a chance this will regress something from superpatch..
Diffstat (limited to 'src/radeon_probe.h')
-rw-r--r--src/radeon_probe.h20
1 files changed, 12 insertions, 8 deletions
diff --git a/src/radeon_probe.h b/src/radeon_probe.h
index 355e935..b651e7d 100644
--- a/src/radeon_probe.h
+++ b/src/radeon_probe.h
@@ -104,22 +104,26 @@ typedef enum
typedef struct
{
+ Bool IsUsed;
+ Bool IsActive;
+ int binding; // which instance of the driver "owns" this controller
+ DisplayModePtr pCurMode;
+} RADEONController;
+
+typedef struct
+{
RADEONDDCType DDCType;
RADEONDacType DACType;
RADEONTmdsType TMDSType;
RADEONConnectorType ConnectorType;
RADEONMonitorType MonType;
xf86MonPtr MonInfo;
+
+ /* one connector can be bound to one CRTC */
+ int crtc_num;
} RADEONConnector;
-typedef struct
-{
- Bool IsUsed;
- Bool IsActive;
- int binding; // which instance of the driver "owns" this controller
- DisplayModePtr pCurMode;
- RADEONConnector* pPort;
-} RADEONController;
+
#define RADEON_MAX_CONNECTOR 2
#define RADEON_MAX_CRTC 2