[xserver-commit] xserver ChangeLog,3.74,3.74.2.1 Makefile.am,3.10,3.10.2.1 configure.ac,3.39,3.39.2.1
Eric Anholt
xserver-commit@pdx.freedesktop.org
Mon, 01 Dec 2003 14:56:33 -0800
- Previous message: [xserver-commit] xserver/mi miinitext.c,3.73,3.73.2.1
- Next message: [xserver-commit] xserver/hw/kdrive/ati ati_draw.h,NONE,1.1.2.1 ati_drawtmp.h,NONE,1.1.2.1 ati_dri.c,NONE,1.1.2.1 ati_dri.h,NONE,1.1.2.1 ati_dripriv.h,NONE,1.1.2.1 ati_sarea.h,NONE,1.1.2.1 r128_common.h,NONE,1.1.2.1 r128_sarea.h,NONE,1.1.2.1 radeon_common.h,NONE,1.1.2.1 radeon_sarea.h,NONE,1.1.2.1 Makefile.am,1.2,1.2.2.1 ati.c,1.7,1.7.2.1 ati.h,1.3,1.3.2.1 ati_draw.c,1.5,1.5.2.1 ati_reg.h,1.2,1.2.2.1 ati_stub.c,1.2,1.2.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: anholt
Update of /cvs/xserver/xserver
In directory pdx:/home/anholt/xserver-dri
Modified Files:
Tag: dri-0-1-branch
ChangeLog Makefile.am configure.ac
Log Message:
- Initial add of enough of the DRI to create a 2d driver that uses
the DRM for its acceleration.
- Converted the ATI driver to use the DRM to execute rendering
commands using DMA instead of MMIO when available.
Index: ChangeLog
===================================================================
RCS file: /cvs/xserver/xserver/ChangeLog,v
retrieving revision 3.74
retrieving revision 3.74.2.1
diff -u -d -r3.74 -r3.74.2.1
--- ChangeLog 1 Dec 2003 22:11:12 -0000 3.74
+++ ChangeLog 1 Dec 2003 22:56:00 -0000 3.74.2.1
@@ -1,3 +1,112 @@
+2003-12-01 Eric Anholt <anholt@FreeBSD.org>
+
+ * Makefile.am:
+ * configure.ac:
+ * dri/.cvsignore:
+ * dri/Makefile.am:
+ * dri/dri.c: (DRIDrvMsg), (DRIScreenInit), (DRIFinishScreenInit),
+ (DRICloseScreen), (DRIExtensionInit), (DRIReset),
+ (DRIQueryDirectRenderingCapable), (DRIOpenConnection),
+ (DRIAuthConnection), (DRICloseConnection),
+ (DRIGetClientDriverName), (DRICreateContextPriv),
+ (DRICreateContextPrivFromHandle), (DRIDestroyContextPriv),
+ (DRICreateDummyContext), (DRIDestroyDummyContext),
+ (DRICreateContext), (DRIDestroyContext), (DRIContextPrivDelete),
+ (DRIClipNotifyAllDrawables), (DRITransitionToSharedBuffers),
+ (DRITransitionToPrivateBuffers), (DRITransitionTo3d),
+ (DRITransitionTo2d), (DRICreateDrawable), (DRIDestroyDrawable),
+ (DRIDrawablePrivDelete), (DRIGetDrawableInfo), (DRIGetDeviceInfo),
+ (DRICreateInfoRec), (DRIDestroyInfoRec), (DRIWakeupHandler),
+ (DRIBlockHandler), (DRIDoWakeupHandler), (DRIDoBlockHandler),
+ (DRISwapContext), (DRIGetContextStore), (DRIWindowExposures),
+ (DRITreeTraversal), (DRICopyWindow), (DRIGetSecs),
+ (DRIComputeMilliSeconds), (DRISpinLockTimeout), (DRILockTree),
+ (DRIValidateTree), (DRIPostValidateTree), (DRIClipNotify),
+ (DRIGetDrawableIndex), (DRIGetDrawableStamp),
+ (DRIPrintDrawableLock), (DRILock), (DRIUnlock),
+ (DRIGetSAREAPrivate), (DRIGetContext), (DRIGetWrappedFuncs),
+ (DRIQueryVersion), (_DRIAdjustFrame), (DRIAdjustFrame),
+ (DRIOpenFullScreen), (_DRICloseFullScreen), (DRICloseFullScreen),
+ (DRIMoveBuffersHelper):
+ * dri/dri.h:
+ * dri/dristruct.h:
+ * dri/sarea.h:
+ * dri/xf86dri.c: (XFree86DRIExtensionInit), (XF86DRIResetProc),
+ (ProcXF86DRIQueryVersion),
+ (ProcXF86DRIQueryDirectRenderingCapable),
+ (ProcXF86DRIOpenConnection), (ProcXF86DRIAuthConnection),
+ (ProcXF86DRICloseConnection), (ProcXF86DRIGetClientDriverName),
+ (ProcXF86DRICreateContext), (ProcXF86DRIDestroyContext),
+ (ProcXF86DRICreateDrawable), (ProcXF86DRIDestroyDrawable),
+ (ProcXF86DRIGetDrawableInfo), (ProcXF86DRIGetDeviceInfo),
+ (ProcXF86DRIOpenFullScreen), (ProcXF86DRICloseFullScreen),
+ (ProcXF86DRIDispatch), (SProcXF86DRIQueryVersion),
+ (SProcXF86DRIDispatch):
+ * dri/xf86dri.h:
+ * dri/xf86dristr.h:
+ * drm/.cvsignore:
+ * drm/Makefile.am:
+ * drm/drm.h:
+ * drm/drmhash.c: (HashHash), (HashCreate), (HashDestroy),
+ (HashFind), (HashLookup), (HashInsert), (HashDelete), (HashNext),
+ (HashFirst):
+ * drm/libdrm.c: (drmMsg), (drmMalloc), (drmFree), (drmStrdup),
+ (drmGetKeyFromFd), (drmGetEntry), (drmMatchBusID), (drmOpenDevice),
+ (drmOpenMinor), (drmAvailable), (drmOpenByBusid), (drmOpenByName),
+ (drmOpen), (drmFreeVersion), (drmFreeKernelVersion),
+ (drmCopyVersion), (drmGetVersion), (drmGetLibVersion),
+ (drmFreeBusid), (drmGetBusid), (drmSetBusid), (drmGetMagic),
+ (drmAuthMagic), (drmAddMap), (drmRmMap), (drmAddBufs),
+ (drmMarkBufs), (drmFreeBufs), (drmClose), (drmMap), (drmUnmap),
+ (drmGetBufInfo), (drmMapBufs), (drmUnmapBufs), (drmDMA),
+ (drmGetLock), (drmUnlock), (drmGetReservedContextList),
+ (drmFreeReservedContextList), (drmCreateContext),
+ (drmSwitchToContext), (drmSetContextFlags), (drmGetContextFlags),
+ (drmDestroyContext), (drmCreateDrawable), (drmDestroyDrawable),
+ (drmAgpAcquire), (drmAgpRelease), (drmAgpEnable), (drmAgpAlloc),
+ (drmAgpFree), (drmAgpBind), (drmAgpUnbind), (drmAgpVersionMajor),
+ (drmAgpVersionMinor), (drmAgpGetMode), (drmAgpBase), (drmAgpSize),
+ (drmAgpMemoryUsed), (drmAgpMemoryAvail), (drmAgpVendorId),
+ (drmAgpDeviceId), (drmScatterGatherAlloc), (drmScatterGatherFree),
+ (drmWaitVBlank), (drmError), (drmCtlInstHandler),
+ (drmCtlUninstHandler), (drmFinish), (drmGetInterruptFromBusID),
+ (drmAddContextTag), (drmDelContextTag), (drmGetContextTag),
+ (drmAddContextPrivateMapping), (drmGetContextPrivateMapping),
+ (drmGetMap), (drmGetClient), (drmGetStats),
+ (drmSetInterfaceVersion), (drmCommandNone), (drmCommandRead),
+ (drmCommandWrite), (drmCommandWriteRead):
+ * drm/libdrm.h:
+ * hw/kdrive/ati/Makefile.am:
+ * hw/kdrive/ati/ati.c: (make_busid), (ATICardInit),
+ (ATIScreenInit):
+ * hw/kdrive/ati/ati.h:
+ * hw/kdrive/ati/ati_draw.c: (ATIWaitAvailMMIO), (RadeonWaitIdle),
+ (R128WaitIdle), (ATIWaitIdle), (ATIDMAStart), (ATIDMAStop),
+ (ATIDMADispatchIndirect), (ATIDMAFlushIndirect), (ATIDMAGetBuffer),
+ (ATIDoneSolid):
+ * hw/kdrive/ati/ati_draw.h:
+ * hw/kdrive/ati/ati_drawtmp.h:
+ * hw/kdrive/ati/ati_dri.c: (ATILog2), (ATIDRIInitGARTValues),
+ (ATIDRIAddAndMap), (ATIDRIAgpInit), (ATIDRIPciInit),
+ (R128DRIKernelInit), (RadeonDRIKernelInit), (ATIDRIBufInit),
+ (ATIDRIIrqInit), (ATIDRISwapContext), (ATIDRIScreenInit),
+ (R128DRIFinishScreenInit), (RadeonDRIFinishScreenInit),
+ (ATIDRIFinishScreenInit), (ATIDRICloseScreen):
+ * hw/kdrive/ati/ati_dri.h:
+ * hw/kdrive/ati/ati_dripriv.h:
+ * hw/kdrive/ati/ati_reg.h:
+ * hw/kdrive/ati/ati_sarea.h:
+ * hw/kdrive/ati/ati_stub.c: (InitCard):
+ * hw/kdrive/ati/r128_common.h:
+ * hw/kdrive/ati/r128_sarea.h:
+ * hw/kdrive/ati/radeon_common.h:
+ * hw/kdrive/ati/radeon_sarea.h:
+ * mi/miinitext.c:
+ - Initial add of enough of the DRI to create a 2d driver that uses
+ the DRM for its acceleration.
+ - Converted the ATI driver to use the DRM to execute rendering
+ commands using DMA instead of MMIO when available.
+
2003-12-01 Anders Carlsson <andersca@gnome.org>
* hw/kdrive/fbdev/fbdev.c: (fbdevModeSupported),
Index: Makefile.am
===================================================================
RCS file: /cvs/xserver/xserver/Makefile.am,v
retrieving revision 3.10
retrieving revision 3.10.2.1
diff -u -d -r3.10 -r3.10.2.1
--- Makefile.am 11 Nov 2003 05:45:48 -0000 3.10
+++ Makefile.am 1 Dec 2003 22:56:00 -0000 3.10.2.1
@@ -1,4 +1,9 @@
AUTOMAKE_OPTIONS=dist-bzip2
+
+if DRI
+DRI_SUBDIRS= drm dri
+endif
+
if COMPOSITE
COMPOSITE_SUBDIR = composite
endif
@@ -15,6 +20,7 @@
render \
xfixes \
damageext \
+ $(DRI_SUBDIRS) \
$(COMPOSITE_SUBDIR) \
hw
Index: configure.ac
===================================================================
RCS file: /cvs/xserver/xserver/configure.ac,v
retrieving revision 3.39
retrieving revision 3.39.2.1
diff -u -d -r3.39 -r3.39.2.1
--- configure.ac 1 Dec 2003 04:33:30 -0000 3.39
+++ configure.ac 1 Dec 2003 22:56:00 -0000 3.39.2.1
@@ -99,6 +99,7 @@
[SCREENSAVER=yes])
AC_ARG_ENABLE(xdmcp, [ --disable-xdmcp ],[XDMCP=$enableval],[XDMCP=auto])
AC_ARG_ENABLE(xdm-auth-1, [ --disable-xdm-auth-1 ],[XDMAUTH=$enableval],[XDMAUTH=auto])
+AC_ARG_ENABLE(dri, [ --disable-dri ],[DRI=$enableval],[DRI=no])
AC_ARG_WITH(fontpath, [ --with-fontpath=PATH ],
[FONTPATH="$withval"],
@@ -157,6 +158,12 @@
REQUIRED_MODULES="$REQUIRED_MODULES resourceext"
fi
+AM_CONDITIONAL(DRI, test x$DRI = xyes)
+if test "$DRI" = yes; then
+ AC_DEFINE(XF86DRI,1,[Build DRI extension])
+ AC_DEFINE(_XF86DRI_SERVER_,1,[XF86DRI internal define])
+fi
+
PKG_CHECK_MODULES(XDMCP, xdmcp, [have_libxdmcp="yes"], [have_libxdmcp="no"])
if test "$have_libxdmcp" = yes; then
@@ -337,6 +344,8 @@
Makefile
include/Makefile
dix/Makefile
+dri/Makefile
+drm/Makefile
fb/Makefile
mi/Makefile
miext/Makefile
- Previous message: [xserver-commit] xserver/mi miinitext.c,3.73,3.73.2.1
- Next message: [xserver-commit] xserver/hw/kdrive/ati ati_draw.h,NONE,1.1.2.1 ati_drawtmp.h,NONE,1.1.2.1 ati_dri.c,NONE,1.1.2.1 ati_dri.h,NONE,1.1.2.1 ati_dripriv.h,NONE,1.1.2.1 ati_sarea.h,NONE,1.1.2.1 r128_common.h,NONE,1.1.2.1 r128_sarea.h,NONE,1.1.2.1 radeon_common.h,NONE,1.1.2.1 radeon_sarea.h,NONE,1.1.2.1 Makefile.am,1.2,1.2.2.1 ati.c,1.7,1.7.2.1 ati.h,1.3,1.3.2.1 ati_draw.c,1.5,1.5.2.1 ati_reg.h,1.2,1.2.2.1 ati_stub.c,1.2,1.2.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]