diff options
author | Pauli Nieminen <suokkos@gmail.com> | 2010-03-01 23:47:35 +0200 |
---|---|---|
committer | Pauli Nieminen <suokkos@gmail.com> | 2010-03-01 23:56:35 +0200 |
commit | 9a7776696b786180f1d384eb22b928707e74dfca (patch) | |
tree | 0cef5c1cd1969b06a4f2be155d00af8728258fdc /src/mesa/.gitignore | |
parent | a379fa8b3059d0a083dc2641a4afb3a33380e275 (diff) |
radeon: Reduce number of radeon_bo_map calls that require kernel entry.
DMA buffers are often remapped many times for singel cs. To reduce number of
mapping calls ending to kernel dma buffers are mapped when allocated and unmapped
when full or in cs flush. This makes indifual mapping calls in other parts of
code simple increment/decrement reference count which is faster than entering
kernel.
This improves Anholt's openarena benchmark from 36 fps to 44 fps.
Diffstat (limited to 'src/mesa/.gitignore')
0 files changed, 0 insertions, 0 deletions