diff options
author | Samuel Pitoiset <[email protected]> | 2015-12-09 19:53:18 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2016-01-03 12:17:05 +0100 |
commit | 53dddab78c9bc7fbfd78bf23284ec6d92b70e93b (patch) | |
tree | 91724b558e504d80dba49c0ab68c8d9f8bd2cca8 /include/pci_ids | |
parent | 28dea2662699072715f67ef34e910d278f88f3b1 (diff) |
nv50,nvc0: optimize coherent buffer checking at draw time
Instead of iterating over all the buffer resources looking for coherent
buffers, we keep track of a context-wide count. This will save some
iterations (and CPU cycles) in 99.99% case because usually coherent
buffers are not so used.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'include/pci_ids')
0 files changed, 0 insertions, 0 deletions