diff options
author | Alex Deucher <alex@t41p.hsd1.va.comcast.net> | 2007-05-13 11:37:35 -0400 |
---|---|---|
committer | Alex Deucher <alex@t41p.hsd1.va.comcast.net> | 2007-05-13 11:37:35 -0400 |
commit | 117220527de9fd3158f600645bcfcaf46847f45f (patch) | |
tree | 731d92c5b0a4a20a059b7e8d4659cceb40877bf9 /src/radeon_probe.h | |
parent | 7e5c29961ac2a9e9dbe5d6d2d73d11cd018d62b5 (diff) |
RADEON: remove hardcoded output limit and PortInfo stuff
Diffstat (limited to 'src/radeon_probe.h')
-rw-r--r-- | src/radeon_probe.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/radeon_probe.h b/src/radeon_probe.h index 9a4a52d..3e18b05 100644 --- a/src/radeon_probe.h +++ b/src/radeon_probe.h @@ -132,6 +132,13 @@ typedef struct _RADEONCrtcPrivateRec { Bool UseBiosDividers; } RADEONCrtcPrivateRec, *RADEONCrtcPrivatePtr; +typedef struct { + RADEONDDCType DDCType; + RADEONDacType DACType; + RADEONTmdsType TMDSType; + RADEONConnectorType ConnectorType; +} RADEONBIOSConnector; + typedef struct _RADEONOutputPrivateRec { int num; RADEONOutputType type; @@ -160,8 +167,8 @@ typedef struct _RADEONOutputPrivateRec { RADEONTMDSPll tmds_pll[4]; } RADEONOutputPrivateRec, *RADEONOutputPrivatePtr; -#define RADEON_MAX_CONNECTOR 3 /* actually 4: DVI/VGA, DVI on docks, TV, LVDS */ #define RADEON_MAX_CRTC 2 +#define RADEON_MAX_BIOS_CONNECTOR 2 typedef struct { @@ -179,9 +186,6 @@ typedef struct Bool ReversedDAC; /* TVDAC used as primary dac */ Bool ReversedTMDS; /* DDC_DVI is used for external TMDS */ - xf86OutputPtr pOutput[RADEON_MAX_CONNECTOR]; - RADEONOutputPrivatePtr PortInfo[RADEON_MAX_CONNECTOR]; - xf86CrtcPtr pCrtc[RADEON_MAX_CRTC]; RADEONCrtcPrivatePtr Controller[RADEON_MAX_CRTC]; |