diff options
author | Eric Anholt <[email protected]> | 2013-01-23 17:05:10 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-03-26 13:13:26 -0700 |
commit | 3b579882903c577daa1af286a5e0bf5bc122a34d (patch) | |
tree | 79013294b0c19a6d6ad98f6c4a3307bfce3a9bfa /doxygen/gbm.doxy | |
parent | b1909b260f6c3855c8214319c602fc7adea7faf9 (diff) |
i965: Massively simplify the intel_upload implementation.
The implementation kept a page-sized area for uploading data, and
uploaded chunks from that to a 64kb-sized streamed buffer. This wasted
cache footprint (and extra state tracking to do so) when we want to just
write our data into the buffer immediately.
Instead, build it around an interface like brw_state_batch() that just
gets you a pointer to BO memory to upload your stuff immediately.
Improves OpenArena on HSW by 1.62209% +/- 0.355299% (n=61) and on BYT by
1.7916% +/- 0.415743% (n=31).
v2: Rebase on Mesa master, drop old prototypes. Re-do performance
comparison on a kernel that doesn't punish CPU efficiency
improvements.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'doxygen/gbm.doxy')
0 files changed, 0 insertions, 0 deletions