summaryrefslogtreecommitdiff
path: root/src/i830_debug.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@mandolin.keithp.com>2007-01-02 00:09:35 -0800
committerKeith Packard <keithp@mandolin.keithp.com>2007-01-02 00:09:35 -0800
commit237847007afb5a429a50b6aa0b1acc239326571b (patch)
treea3dc3d9ca0ec5dc1782df5a22c3ffdfdcab6f6e8 /src/i830_debug.c
parent25d5a892319b02dc6eb81390dea29cd88a1e7da4 (diff)
Make driver build and run on Xorg 7.1. Delay DSP*BASE setting until last.
Autodetect libdrm version, disable new memory manager on older libraries. Move new M_T_ defines from i830.h to i830_xf86Crtc.h. Add many system headers to define functions. Use i830PipeSetBase at end of mode setting code to set DSP*BASE and flush changes. Don't duplicate PipeSetBase call from screen init function. Make initial RandR configuration code usable on older versions of extension so the server doesn't start in a panning mode. Use xfree instead of free in i830_tv.c.
Diffstat (limited to 'src/i830_debug.c')
-rw-r--r--src/i830_debug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i830_debug.c b/src/i830_debug.c
index 25245fb2..897ab926 100644
--- a/src/i830_debug.c
+++ b/src/i830_debug.c
@@ -32,6 +32,7 @@
#include "xf86.h"
#include "i830.h"
#include "i830_debug.h"
+#include <strings.h>
#define DEBUGSTRING(func) static char *func(I830Ptr pI830, int reg, CARD32 val)