diff options
author | Thomas Hellström <thomas@tungstengraphics.com> | 2006-09-29 13:15:43 +0000 |
---|---|---|
committer | Thomas Hellström <thomas@tungstengraphics.com> | 2006-09-29 13:15:43 +0000 |
commit | 9b87fafc911ad823dbd0279522c084b7e88fab3e (patch) | |
tree | f0408a20a9b26747ddf0af59e5452998334174ee | |
parent | 7d553984e259d7c48724b38809b58060752e1ba6 (diff) |
Use the BATCH_SZ macro where appropriate.texmem_0_3_20060929
Bump driver date.
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_context.c | 2 | ||||
-rw-r--r-- | 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 7a23450841..7ccb127a16 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 4f563a1c01..e2b148248c 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; |