summaryrefslogtreecommitdiff
path: root/src/i965_video.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/i965_video.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/i965_video.c')
-rw-r--r--src/i965_video.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i965_video.c b/src/i965_video.c
index 0d1bec69..9e96527d 100644
--- a/src/i965_video.c
+++ b/src/i965_video.c
@@ -39,6 +39,7 @@
#include "i830_video.h"
#include "brw_defines.h"
#include "brw_structs.h"
+#include <string.h>
/* Make assert() work. */
#undef NDEBUG