diff options
author | Carl Worth <cworth@cworth.org> | 2008-07-25 15:56:35 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2008-07-31 11:14:25 -0700 |
commit | a893f176dda0b64f7dadfda6bf0331240037851e (patch) | |
tree | 901c3c02010be2e0c48817755f91ae4b2c27c9c7 /src | |
parent | b3c1a148679a4d943e556f996ef6b9004f549a41 (diff) |
Add call to intel_bufmgr_gem_enable_reuse
This instructs GEM to reuse buffer objects and improves the
performance of my favorite 'x11perf -aa10text' from about
169k to about 188k glyphs/sec.
Diffstat (limited to 'src')
-rw-r--r-- | src/i830_driver.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c index dcbaa040..a453d907 100644 --- a/src/i830_driver.c +++ b/src/i830_driver.c @@ -2760,6 +2760,7 @@ i830_init_bufmgr(ScrnInfoPtr pScrn) batch_size = 4096; pI830->bufmgr = intel_bufmgr_gem_init(pI830->drmSubFD, batch_size); + intel_bufmgr_gem_enable_reuse(pI830->bufmgr); } else { pI830->bufmgr = intel_bufmgr_fake_init(pI830->fake_bufmgr_mem->offset, pI830->FbBase + |