diff options
author | Keith Packard <keithp@mandolin.keithp.com> | 2007-01-02 00:09:35 -0800 |
---|---|---|
committer | Keith Packard <keithp@mandolin.keithp.com> | 2007-01-02 00:09:35 -0800 |
commit | 237847007afb5a429a50b6aa0b1acc239326571b (patch) | |
tree | a3dc3d9ca0ec5dc1782df5a22c3ffdfdcab6f6e8 /configure.ac | |
parent | 25d5a892319b02dc6eb81390dea29cd88a1e7da4 (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 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index be80a872..b295c5ae 100644 --- a/configure.ac +++ b/configure.ac @@ -120,9 +120,13 @@ fi AM_CONDITIONAL(DRI, test x$DRI = xyes) if test "$DRI" = yes; then - PKG_CHECK_MODULES(DRI, [libdrm >= 2.2 xf86driproto]) + PKG_CHECK_MODULES(DRI, [libdrm xf86driproto]) AC_DEFINE(XF86DRI,1,[Enable DRI driver support]) AC_DEFINE(XF86DRI_DEVEL,1,[Enable developmental DRI driver support]) + PKG_CHECK_MODULES(DRI_MM, [libdrm >= 2.2],[DRI_MM=yes], [DRI_MM=no]) + if test "x$DRM_MM" = xyes; then + AC_DEFINE(XF86DRI_MM,1,[Extended DRI memory management]) + fi fi AM_CONDITIONAL(VIDEO_DEBUG, test x$VIDEO_DEBUG = xyes) |