summaryrefslogtreecommitdiff
path: root/src/radeon_video.h
diff options
context:
space:
mode:
authorAlex Deucher <alex@botch2.com>2007-08-16 21:55:14 -0400
committerAlex Deucher <alex@botch2.com>2007-08-16 21:55:14 -0400
commita90d675832ddb02c81ace010ccbf02619b70edac (patch)
tree2a6ef595ea6fd08870e43e2d011636e01782a5c1 /src/radeon_video.h
parent5793e8753d11432bf95c7c6dd80c811e16aba058 (diff)
RADEON: fix Xv clipping and overlay sourcing
- Basically just copied from the intel driver. I'm planning to push this to the server soon, but add it now to get things working and to provide compat for older servers. - Overlay crtc source control attribute now called XV_CRTC The old attribute XV_SWITCHCRT has been removed. If anyone cares, we can add it back as an alias to XV_CRTC XV_CRTC: -1 auto, 0 crtc0, 1 crtc1
Diffstat (limited to 'src/radeon_video.h')
-rw-r--r--src/radeon_video.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/radeon_video.h b/src/radeon_video.h
index b6d5d2d9..072f40e1 100644
--- a/src/radeon_video.h
+++ b/src/radeon_video.h
@@ -11,6 +11,8 @@
#include "generic_bus.h"
#include "theatre.h"
+#include "xf86Crtc.h"
+
/* Xvideo port struct */
typedef struct {
CARD32 transform_index;
@@ -40,7 +42,7 @@ typedef struct {
CARD8 tuner_type;
MSP3430Ptr msp3430;
TDA9885Ptr tda9885;
- UDA1380Ptr uda1380;
+ UDA1380Ptr uda1380;
/* VIP bus and devices */
GENERIC_BUS_Ptr VIP;
@@ -77,7 +79,7 @@ typedef struct {
Time offTime;
Time freeTime;
Bool autopaint_colorkey;
- Bool crt2; /* 0=CRT1, 1=CRT2 */
+ xf86CrtcPtr desired_crtc;
#ifdef USE_EXA
int size;