diff options
author | Michel Dänzer <daenzer@vmware.com> | 2011-04-05 13:36:01 +0200 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2011-04-05 14:10:44 +0200 |
commit | f0b7d7b449cc77bb2b281d81108507f8bc2e6018 (patch) | |
tree | 97ab8020101ac28184030886a877bb2d663da9b4 /src/radeon.h | |
parent | 7acf9bc833de539fa2259a051c66a99445a54bc4 (diff) |
DRI2: Some cleanups for the scheduling mess.
* Fix build against libdrm that doesn't define *_VBLANK_HIGH_CRTC*.
* If we have more than two CRTCs but can't use DRM_VBLANK_HIGH_CRTC_MASK, don't
enable scheduling in the first place rather than relying on
DRM_VBLANK_SECONDARY magically doing something sensible for higher CRTCs.
* Only set up client state tracking when scheduling is enabled.
* Only declare pRADEONEnt when it's needed, and break long lines.
Diffstat (limited to 'src/radeon.h')
-rw-r--r-- | src/radeon.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/radeon.h b/src/radeon.h index 1a746c75..a6d20d71 100644 --- a/src/radeon.h +++ b/src/radeon.h @@ -931,9 +931,6 @@ typedef struct { RADEONFBLayout CurrentLayout; -#ifdef RADEON_DRI2 - Bool high_crtc_works; -#endif #ifdef XF86DRI Bool directRenderingEnabled; Bool directRenderingInited; |