diff options
author | Dave Airlie <airlied@linux.ie> | 2006-12-03 11:07:23 +1100 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-12-03 11:07:23 +1100 |
commit | ddec94e8f2f5746bad0e998d15303e771803d22b (patch) | |
tree | 3a804fec2c0c09d64ead98f655133fb932d44305 /src/radeon_probe.h | |
parent | 218cb7f8db35d0ce8f9fc4ece72bd5ec3f52106f (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.h | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/src/radeon_probe.h b/src/radeon_probe.h index 355e9354..b651e7d0 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 |