i965: Keep the CURBE BO mapped and memcpy instead of subdataing.
authorEric Anholt <eric@anholt.net>
Fri, 5 Feb 2010 15:08:51 +0000 (07:08 -0800)
committerEric Anholt <eric@anholt.net>
Sat, 6 Feb 2010 13:10:07 +0000 (14:10 +0100)
commitc8433af711c1ec102bfaded742be964545464a42
treed83da37120621b59fed1684dce60f517c2a9fe25
parent3e498207d1a0e95f143bb04b38ca22faf5f91f5d
i965: Keep the CURBE BO mapped and memcpy instead of subdataing.

For the tiny bis of data we generally upload through the CURBEs, the
overhead of the kernel's pagetable trickery is actually rather high.
This improves cairo-gl gnome-terminal-vim performance by 3.8%.
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_curbe.c
src/mesa/drivers/dri/i965/brw_vtbl.c