diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2016-06-06 09:23:06 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-06-13 10:42:26 -0400 |
commit | 987de665838f6b4aceadf52f076b91da4cc633ca (patch) | |
tree | b265cf18cbd3cba69202674b0b5033ee28948234 /drivers/gpu/nvgpu/gk20a/regops_gk20a.c | |
parent | 15d241a8cb1d6cf25752f4c0f1e858bbcd34db3f (diff) |
gpu: nvgpu: optimize mem_desc accessor loops
Instead of going via gk20a_mem_{wr,rd}32() on each iteration, do direct
memcpy/memset with sysmem, and minimize the enter/exit overhead with
vidmem.
JIRA DNVGPU-23
Change-Id: I5437e35f8393a746777a40636c1e9b5d93ced1f6
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/1159524
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/regops_gk20a.c')
0 files changed, 0 insertions, 0 deletions