diff options
author | Dave Airlie <airlied@linux.ie> | 2006-12-02 19:48:00 +1100 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-12-02 19:50:45 +1100 |
commit | f22fd02bc7f7ef67e33c9bd93eae2d7488669b5e (patch) | |
tree | d302b0d50463983d2da300c5c3f08d753a991c29 /src/radeon_probe.h | |
parent | 13efd1f75fbd29a4d1f69d7d5a5bb2b8d90ad820 (diff) |
make CRTCs malloc'ed rather than part of Ent
This is leading towards randr-1.2 believe me :-)
Diffstat (limited to 'src/radeon_probe.h')
-rw-r--r-- | src/radeon_probe.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/radeon_probe.h b/src/radeon_probe.h index 9946cf80..34dad61d 100644 --- a/src/radeon_probe.h +++ b/src/radeon_probe.h @@ -121,6 +121,8 @@ typedef struct RADEONConnector* pPort; } RADEONController; +#define RADEON_MAX_CRTC 2 + typedef struct { Bool HasSecondary; @@ -138,7 +140,7 @@ typedef struct Bool ReversedDAC; /* TVDAC used as primary dac */ Bool ReversedTMDS; /* DDC_DVI is used for external TMDS */ RADEONConnector PortInfo[2]; - RADEONController Controller[2]; + RADEONController *Controller[RADEON_MAX_CRTC]; /* pointer to a controller */ } RADEONEntRec, *RADEONEntPtr; /* radeon_probe.c */ |