gpu: nvgpu: gk20a: Use spin_lock for jobs_lock
authorBharat Nihalani <bnihalani@nvidia.com>
Tue, 9 Aug 2016 13:00:12 +0000 (18:00 +0530)
committerWinnie Hsu <whsu@nvidia.com>
Fri, 12 Aug 2016 04:16:00 +0000 (21:16 -0700)
commite2102a8c8bb015406b8d5fc2d5006ad37cdecfee
tree5ccd5b86cd7ff9a64639e785a0f1f8ee6dac6bde
parent7be6906e641718fb4c22d78f83b21c5e95f256f3
gpu: nvgpu: gk20a: Use spin_lock for jobs_lock

This is done to boost performance of the GPU submit time, which
is critical for compute use-cases.

Bug 200215465

Change-Id: Ic4884ee4eac910b92b84a47fdc1b2e9f26b2f1f0
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/1199860
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1201496
GVS: Gerrit_Virtual_Submit
drivers/gpu/nvgpu/gk20a/cde_gk20a.c
drivers/gpu/nvgpu/gk20a/channel_gk20a.c
drivers/gpu/nvgpu/gk20a/channel_gk20a.h