diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2016-04-13 03:23:37 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-04-14 11:42:05 -0400 |
commit | 289cb4d9bdb7db478397a98f8eb56d60e04a6bfc (patch) | |
tree | 3a49ea958c9e940286b28ed69300807d1a96f179 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | ad49722b9dc34e6e4e1061a67f44b85c50cb3346 (diff) |
gpu: nvgpu: move cs_lock init to happen always
The cs_lock cyclestats mutex is unconditionally taken when removing cs
support, but it wouldn't be initialized if some part of gr init would
fail before it. Move it up to happen first, before other inits.
Change-Id: Ia5d7a888c29dc99728630a07698b1ed25af960c2
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/1126004
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
0 files changed, 0 insertions, 0 deletions