summaryrefslogtreecommitdiff
path: root/src/radeon.h
diff options
context:
space:
mode:
authorRoland Scheidegger <rscheidegger_lists@hispeed.ch>2005-02-22 00:39:15 +0000
committerRoland Scheidegger <rscheidegger_lists@hispeed.ch>2005-02-22 00:39:15 +0000
commitf1edbb7852d85f660188498f578a0a697c2094fe (patch)
treeb63fa4891c7e69064a02851c98e69ddbf9e4dcb8 /src/radeon.h
parentb853dbb50fb7c46fb5a70f349a3f264f0bb94e8c (diff)
Fix building radeon driver with BuildXF86DRI set to NO, the breakage was
caused by the tiling support (bug #2481)
Diffstat (limited to 'src/radeon.h')
-rw-r--r--src/radeon.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/radeon.h b/src/radeon.h
index 20fad25..b6fd8ce 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -94,6 +94,8 @@ typedef enum {
#define RADEON_TIMEOUT 2000000 /* Fall out of wait loops after this count */
#define RADEON_MMIOSIZE 0x80000
+/* Buffer are aligned on 4096 byte boundaries */
+#define RADEON_BUFFER_ALIGN 0x00000fff
#define RADEON_VBIOS_SIZE 0x00010000
#define RADEON_USE_RMX 0x80000000 /* mode flag for using RMX
* Need to comfirm this is not used
@@ -428,6 +430,7 @@ typedef struct {
DGAFunctionRec DGAFuncs;
RADEONFBLayout CurrentLayout;
+ CARD32 dst_pitch_offset;
#ifdef XF86DRI
Bool noBackBuffer;
Bool directRenderingEnabled;
@@ -524,8 +527,6 @@ typedef struct {
CARD32 backPitchOffset;
CARD32 depthPitchOffset;
- CARD32 dst_pitch_offset;
-
/* offscreen memory management */
int backLines;
FBAreaPtr backArea;