diff options
author | Jakob Bornecrantz <[email protected]> | 2009-09-22 17:00:46 -0700 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2009-09-27 13:19:48 -0700 |
commit | c3663bdc35d393194da9fb3b4d5120ea70eb1bbe (patch) | |
tree | 1163eb601f4b09a28eb622eede8882323ccf2993 /src/gallium | |
parent | dd586078bef433d0830df0b60c768c617a8ae8cd (diff) |
i915g: Enable reuse of buffers
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/winsys/drm/intel/gem/intel_drm_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/winsys/drm/intel/gem/intel_drm_api.c b/src/gallium/winsys/drm/intel/gem/intel_drm_api.c index 0fd5cdd9697..46fdc9f92b2 100644 --- a/src/gallium/winsys/drm/intel/gem/intel_drm_api.c +++ b/src/gallium/winsys/drm/intel/gem/intel_drm_api.c @@ -167,6 +167,7 @@ intel_drm_create_screen(struct drm_api *api, int drmFD, idws->base.destroy = intel_drm_winsys_destroy; idws->pools.gem = drm_intel_bufmgr_gem_init(idws->fd, idws->max_batch_size); + drm_intel_bufmgr_gem_enable_reuse(idws->pools.gem); idws->softpipe = FALSE; idws->dump_cmd = debug_get_bool_option("INTEL_DUMP_CMD", FALSE); |