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.
This commit is contained in:
Carl Worth 2008-07-25 15:56:35 -07:00
parent b3c1a14867
commit a893f176dd
1 changed files with 1 additions and 0 deletions

View File

@ -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 +