diff options
author | Sami Kiminki <skiminki@nvidia.com> | 2015-05-06 10:50:34 -0400 |
---|---|---|
committer | Ishan Mittal <imittal@nvidia.com> | 2015-05-18 02:03:39 -0400 |
commit | 6a5cc111713cec1d0e1edf9b8a1e64eb17105d9c (patch) | |
tree | a9e9fcc562080887685875779430beb9269d4631 /drivers/gpu/nvgpu/gk20a/gk20a.c | |
parent | e7ea5963634cb1832d1cbd559e26ba92cdaf1e25 (diff) |
gpu: nvgpu: Optimize validate_fixed_buffer
Function validate_fixed_buffer used to do a linear search for
collision detection of already mapped buffers. Optimize this by doing
a nice logarithmic search instead.
Change-Id: Ifbf2ec015741d44883da27bc6f8cc090c48da145
Signed-off-by: Sami Kiminki <skiminki@nvidia.com>
Reviewed-on: http://git-master/r/739682
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
0 files changed, 0 insertions, 0 deletions