summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
diff options
context:
space:
mode:
authorSami Kiminki <skiminki@nvidia.com>2015-05-06 10:50:34 -0400
committerIshan Mittal <imittal@nvidia.com>2015-05-18 02:03:39 -0400
commit6a5cc111713cec1d0e1edf9b8a1e64eb17105d9c (patch)
treea9e9fcc562080887685875779430beb9269d4631 /drivers/gpu/nvgpu/gm20b/gr_gm20b.c
parente7ea5963634cb1832d1cbd559e26ba92cdaf1e25 (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/gm20b/gr_gm20b.c')
0 files changed, 0 insertions, 0 deletions