diff options
author | Alex Deucher <alex@botch2.com> | 2007-08-05 01:14:36 -0400 |
---|---|---|
committer | Alex Deucher <alex@botch2.com> | 2007-08-05 01:14:36 -0400 |
commit | cc8e1d95f1b90a259beea4e8cc4d7e29af660919 (patch) | |
tree | 9ad79275874d7fba86e9cd9cc76ab801acc11650 /src/radeon_probe.h | |
parent | b61a49f2a5401560f85e11bcdd005287433cad12 (diff) |
RADEON: Major rework of BIOS table parsing
- greatly simplify ATOM and legacy connector table parsing
- use bios tables to detect LVDS and TV outputs
- add support for TV table parsing (legacy only)
Diffstat (limited to 'src/radeon_probe.h')
-rw-r--r-- | src/radeon_probe.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/radeon_probe.h b/src/radeon_probe.h index f0df3410..27b78cc3 100644 --- a/src/radeon_probe.h +++ b/src/radeon_probe.h @@ -140,13 +140,12 @@ typedef enum /* standards */ typedef enum { - TV_STD_NTSC, - TV_STD_PAL, - TV_STD_PAL_M, - TV_STD_PAL_60, - TV_STD_NTSC_J, - TV_STD_PAL_CN, - TV_STD_PAL_N + TV_STD_NTSC = 1, + TV_STD_PAL = 2, + TV_STD_PAL_M = 4, + TV_STD_PAL_60 = 8, + TV_STD_NTSC_J = 16, + TV_STD_SCART_PAL = 32, } TVStd; typedef struct _RADEONCrtcPrivateRec { @@ -167,6 +166,7 @@ typedef struct { RADEONDacType DACType; RADEONTmdsType TMDSType; RADEONConnectorType ConnectorType; + Bool valid; } RADEONBIOSConnector; typedef struct _RADEONOutputPrivateRec { @@ -201,10 +201,12 @@ typedef struct _RADEONOutputPrivateRec { int hPos; int vPos; int hSize; + float TVRefClk; + int SupportedTVStds; } RADEONOutputPrivateRec, *RADEONOutputPrivatePtr; #define RADEON_MAX_CRTC 2 -#define RADEON_MAX_BIOS_CONNECTOR 2 +#define RADEON_MAX_BIOS_CONNECTOR 8 typedef struct { |