diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-09-27 15:59:34 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-10-10 16:38:17 -0400 |
commit | 4f56c88febf0cc8630ad75f184ada11a9d4894ed (patch) | |
tree | b0697ad110406441426d0525ad84347810c4a585 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 236573e00a285ec2c94479ffe68c168b4d1464e6 (diff) |
gpu: nvgpu: Move gk20a->busy_lock to os_linux
gk20a->busy_lock is a Linux specific rw_semaphore used only
by Linux code. Move it to os_linux.
JIRA NVGPU-259
Change-Id: I220a8a080a5050732683b875d3c1d0539ba0f40e
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1569695
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 537d03d8..51672b2f 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -1084,7 +1084,6 @@ struct gk20a { | |||
1084 | u32 log_mask; | 1084 | u32 log_mask; |
1085 | u32 log_trace; | 1085 | u32 log_trace; |
1086 | 1086 | ||
1087 | struct rw_semaphore busy_lock; | ||
1088 | /* | 1087 | /* |
1089 | * Guards access to hardware when usual gk20a_{busy,idle} are skipped | 1088 | * Guards access to hardware when usual gk20a_{busy,idle} are skipped |
1090 | * for submits and held for channel lifetime but dropped for an ongoing | 1089 | * for submits and held for channel lifetime but dropped for an ongoing |