commit | 16060531baa837304eb7a427d0cdbeccd95cf09a | [log] [tgz] |
---|---|---|
author | Kenneth Graunke <kenneth@whitecape.org> | Mon Jul 02 15:04:00 2012 -0700 |
committer | Kenneth Graunke <kenneth@whitecape.org> | Thu Jul 12 13:35:46 2012 -0700 |
tree | b13fa2618d39124693a5ff0b906e0e59dd22dbd0 | |
parent | 978807ef0153be27e4df19691e3d5f7d7a2a472b [diff] |
i965: Use the blitter in intel_bufferobj_subdata for busy BOs on Gen6+. Previously we only did this pre-Gen6, and used pwrite on Gen6+. In one workload, this cuts significant amount of overhead. v2: Simplify the function based on Eric's suggestions. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>