i965: Prefer Meta over the BLT for BlitFramebuffer.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 15 Jan 2015 09:41:14 +0000 (01:41 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 18 Feb 2015 06:06:06 +0000 (22:06 -0800)
commitd523fefa756eef9c7a2c0d91cf4c2df10b89ed2a
tree7e716cdf6a3d27092ce6bd145d2aaeca2be7b6ac
parentbb33a31c3830945ae768ebdaeb686291bdf897fa
i965: Prefer Meta over the BLT for BlitFramebuffer.

There's some debate about whether we should use Meta or BLORP,
but either should run circles around the BLT engine.

In particular, this means that Gen8+ will use the 3D engine for blits,
like we do on Gen6-7.

Improves performance in "copypixrate -blit -back" (from Mesa demos)
by 232.037% +/- 3.15795% (n=10) on Broadwell GT3e.

v2: Rebase on Laura's changes.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Cc: "10.5" <mesa-stable@lists.freedesktop.org>
src/mesa/drivers/dri/i965/intel_fbo.c