diff options
author | Sami Kiminki <skiminki@nvidia.com> | 2015-09-18 08:20:38 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2015-10-12 11:30:35 -0400 |
commit | 960552df3ef3f270bce64ed00104dce300531369 (patch) | |
tree | a71d048fc18d88010201610397ebf8f0e95d45aa /include/linux/tegra_vgpu.h | |
parent | 8bbc0d7730545ad13e60f3782078fa8c8f9da9ad (diff) |
nvgpu: gk20a: Optimize vm_put_buffers for zero buffers
Return immediately in case there are no buffers to put. This skips
acquiring mutexes and map batch start/finish overheads.
Bug 1614735
Bug 1623949
Bug 1660392
Change-Id: Ief04e36d995e65c1510496c17cb3f5bb90486c69
Signed-off-by: Sami Kiminki <skiminki@nvidia.com>
Reviewed-on: http://git-master/r/815376
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'include/linux/tegra_vgpu.h')
0 files changed, 0 insertions, 0 deletions