diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 1d867912..79118fca 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -1025,6 +1025,12 @@ struct gk20a { | |||
1025 | u32 log_trace; | 1025 | u32 log_trace; |
1026 | 1026 | ||
1027 | struct rw_semaphore busy_lock; | 1027 | struct rw_semaphore busy_lock; |
1028 | /* | ||
1029 | * Guards access to hardware when usual gk20a_{busy,idle} are skipped | ||
1030 | * for submits and held for channel lifetime but dropped for an ongoing | ||
1031 | * gk20a_do_idle(). | ||
1032 | */ | ||
1033 | struct rw_semaphore deterministic_busy; | ||
1028 | 1034 | ||
1029 | struct nvgpu_falcon pmu_flcn; | 1035 | struct nvgpu_falcon pmu_flcn; |
1030 | struct nvgpu_falcon sec2_flcn; | 1036 | struct nvgpu_falcon sec2_flcn; |