summaryrefslogtreecommitdiff
path: root/src/radeon_video.h
diff options
context:
space:
mode:
authorVladimir Dergachev <volodya@mindspring.com>2004-10-02 20:55:42 +0000
committerVladimir Dergachev <volodya@mindspring.com>2004-10-02 20:55:42 +0000
commit6c1996174b9f7afc8f4e33c35e4864b31696d4d6 (patch)
treedc6d8a4bc89a7fe8f14d617fb509bfa53b360c25 /src/radeon_video.h
parent136649a1c2065624a9cf17386054c6595aa6d85e (diff)
Modified:
xc/programs/Xserver/hw/xfree86/drivers/ati/Imakefile xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_reg.h xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_video.[c,h] xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_vip.c Add VIP bus access code, hook it into initialization system.
Diffstat (limited to 'src/radeon_video.h')
-rw-r--r--src/radeon_video.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/radeon_video.h b/src/radeon_video.h
index 24016851..781b54c2 100644
--- a/src/radeon_video.h
+++ b/src/radeon_video.h
@@ -7,6 +7,8 @@
#include "tda9885.h"
#include "i2c_def.h"
+#include "generic_bus.h"
+
/* Xvideo port struct */
typedef struct {
CARD32 transform_index;
@@ -32,7 +34,10 @@ typedef struct {
CARD8 tuner_type;
MSP3430Ptr msp3430;
TDA9885Ptr tda9885;
-
+
+ /* VIP bus and devices */
+ GENERIC_BUS_Ptr VIP;
+
Bool video_stream_active;
int encoding;
CARD32 frequency;
@@ -73,5 +78,8 @@ typedef struct {
void RADEONInitI2C(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv);
void RADEONResetI2C(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv);
+void RADEONVIP_init(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv);
+void RADEONVIP_reset(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv);
+
#endif