summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-06-15 16:11:03 +0100
committerDave Airlie <airlied@redhat.com>2012-06-15 16:11:03 +0100
commit29dd3f84eecd2892a438f004403521de8986a91d (patch)
tree5fb32c6954d02ff13a025c98e4c042b199372037 /src
parent678c1f3425c0fa7e98795c8e351da77d04652e02 (diff)
radeon: misc cleanups.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/radeon_accel.c2
-rw-r--r--src/radeon_driver.c4
-rw-r--r--src/radeon_video.c2
3 files changed, 0 insertions, 8 deletions
diff --git a/src/radeon_accel.c b/src/radeon_accel.c
index 6adb5188..4e240532 100644
--- a/src/radeon_accel.c
+++ b/src/radeon_accel.c
@@ -170,8 +170,6 @@ int radeon_cs_space_remaining(ScrnInfoPtr pScrn)
#undef OUT_ACCEL_REG
#undef FINISH_ACCEL
-#define RADEON_IB_RESERVE (16 * sizeof(uint32_t))
-
void RADEONCopySwap(uint8_t *dst, uint8_t *src, unsigned int size, int swap)
{
switch(swap) {
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index 49865acf..548aced7 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -94,10 +94,6 @@
#include "shadow.h"
/* vgaHW definitions */
-#ifdef WITH_VGAHW
-#include "vgaHW.h"
-#endif
-
#ifdef HAVE_XEXTPROTO_71
#include <X11/extensions/dpmsconst.h>
#else
diff --git a/src/radeon_video.c b/src/radeon_video.c
index 52f78a4b..cdd962b4 100644
--- a/src/radeon_video.c
+++ b/src/radeon_video.c
@@ -16,8 +16,6 @@
#include "xf86.h"
#include "dixstruct.h"
-#include "atipciids.h"
-#include "xf86fbman.h"
/* DPMS */
#ifdef HAVE_XEXTPROTO_71