diff options
author | Jakob Bornecrantz <jakob@tungstengraphics.com> | 2008-05-29 16:56:42 +0200 |
---|---|---|
committer | Jakob Bornecrantz <jakob@tungstengraphics.com> | 2008-05-30 13:46:50 +0200 |
commit | 7b0a551c4cebc44cc06face712eb9659ccdebcc9 (patch) | |
tree | 0d3c09dc918bc9cf8cbe39057df0db2a4e6ecda6 /src/gallium/winsys/dri/intel/intel_screen.c | |
parent | 3869c3c87a40d9f41414082ad8dd3d747e6b34d8 (diff) |
i915: Made batch buffer size much larger
Diffstat (limited to 'src/gallium/winsys/dri/intel/intel_screen.c')
-rw-r--r-- | src/gallium/winsys/dri/intel/intel_screen.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/winsys/dri/intel/intel_screen.c b/src/gallium/winsys/dri/intel/intel_screen.c index 429a2cf8f8..0be88974f4 100644 --- a/src/gallium/winsys/dri/intel/intel_screen.c +++ b/src/gallium/winsys/dri/intel/intel_screen.c @@ -200,8 +200,8 @@ intelCreatePools(__DRIscreenPrivate * sPriv) DRM_BO_FLAG_MEM_TT, DRM_BO_FLAG_EXE | DRM_BO_FLAG_MEM_TT, - 4 * 4096, //intelScreen->maxBatchSize, - 1, 40, 16*16384, 0, + intelScreen->max_batch_size, + 1, 40, intelScreen->max_batch_size * 16, 0, intelScreen->fMan); #endif intelScreen->havePools = GL_TRUE; @@ -262,7 +262,7 @@ intelInitDriver(__DRIscreenPrivate * sPriv) (*glx_enable_extension) (psc, "GLX_SGI_make_current_read"); } - + intelScreen->max_batch_size = 16 * 4096; #if 1 // ZZZ JB intelScreen->mgr = driFenceMgrTTMInit(sPriv->fd); |