From 9b87fafc911ad823dbd0279522c084b7e88fab3e Mon Sep 17 00:00:00 2001 From: Thomas Hellström Date: Fri, 29 Sep 2006 13:15:43 +0000 Subject: Use the BATCH_SZ macro where appropriate. Bump driver date. --- src/mesa/drivers/dri/i915/intel_context.c | 2 +- src/mesa/drivers/dri/i915/intel_screen.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/i915/intel_context.c b/src/mesa/drivers/dri/i915/intel_context.c index 7a23450841c..7ccb127a160 100644 --- a/src/mesa/drivers/dri/i915/intel_context.c +++ b/src/mesa/drivers/dri/i915/intel_context.c @@ -86,7 +86,7 @@ int INTEL_DEBUG = (0); #include "extension_helper.h" -#define DRIVER_DATE "20060928" +#define DRIVER_DATE "20060929" _glthread_Mutex lockMutex; static GLboolean lockMutexInit = GL_FALSE; diff --git a/src/mesa/drivers/dri/i915/intel_screen.c b/src/mesa/drivers/dri/i915/intel_screen.c index 4f563a1c013..e2b148248c8 100644 --- a/src/mesa/drivers/dri/i915/intel_screen.c +++ b/src/mesa/drivers/dri/i915/intel_screen.c @@ -48,6 +48,7 @@ #include "i830_dri.h" #include "dri_bufpool.h" #include "intel_regions.h" +#include "intel_batchbuffer.h" PUBLIC const char __driConfigOptions[] = DRI_CONF_BEGIN DRI_CONF_SECTION_PERFORMANCE @@ -485,7 +486,7 @@ intelInitDriver(__DRIscreenPrivate * sPriv) DRM_BO_FLAG_EXE | DRM_BO_FLAG_MEM_TT | DRM_BO_FLAG_MEM_LOCAL, - 4096, 100, 5); + BATCH_SZ, 100, 5); if (!intelScreen->batchPool) { fprintf(stderr, "Failed to initialize batch pool - possible incorrect agpgart installed\n"); return GL_FALSE; -- cgit v1.2.3