summaryrefslogtreecommitdiff
path: root/src/i830_tv.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_tv.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_tv.c')
-rw-r--r--src/i830_tv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i830_tv.c b/src/i830_tv.c
index f17a3532..5cf36a5a 100644
--- a/src/i830_tv.c
+++ b/src/i830_tv.c
@@ -36,6 +36,7 @@
#include "xf86.h"
#include "i830.h"
#include "i830_display.h"
+#include <string.h>
enum tv_type {
TV_TYPE_NONE,