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:
parent
b3c1a14867
commit
a893f176dd
|
|
@ -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 +
|
||||
|
|
|
|||
Loading…
Reference in New Issue