intel-gem: Speed up tiled readpixels by tracking which pages have been flushed.
authorEric Anholt <eric@anholt.net>
Sun, 27 Jul 2008 02:28:14 +0000 (19:28 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 28 Jul 2008 18:25:19 +0000 (11:25 -0700)
commitf85fd1b42dc2d77266007c02144d4f4f524e4157
treeef45bb5f688fb345141c3e8a78902ccad8f84c57
parent04ae66db1c517264cddc786be962fdd393c9c8ac
intel-gem: Speed up tiled readpixels by tracking which pages have been flushed.

This is around 3x or so speedup, since we would read wide rows at a time, and
clflush each tile 8 times as a result.  We'll want code related to this anyway
when we do fault-based per-page clflushing for sw fallbacks.
linux-core/i915_gem.c
shared-core/i915_drv.h