diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/os_linux.h')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/os_linux.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/os_linux.h b/drivers/gpu/nvgpu/common/linux/os_linux.h index 27433e32..9bb9e9f4 100644 --- a/drivers/gpu/nvgpu/common/linux/os_linux.h +++ b/drivers/gpu/nvgpu/common/linux/os_linux.h | |||
@@ -23,6 +23,7 @@ | |||
23 | #endif | 23 | #endif |
24 | #include "gk20a/gk20a.h" | 24 | #include "gk20a/gk20a.h" |
25 | #include "cde.h" | 25 | #include "cde.h" |
26 | #include "sched.h" | ||
26 | 27 | ||
27 | struct nvgpu_os_linux_ops { | 28 | struct nvgpu_os_linux_ops { |
28 | struct { | 29 | struct { |
@@ -144,6 +145,8 @@ struct nvgpu_os_linux { | |||
144 | struct gk20a_cde_app cde_app; | 145 | struct gk20a_cde_app cde_app; |
145 | 146 | ||
146 | struct rw_semaphore busy_lock; | 147 | struct rw_semaphore busy_lock; |
148 | |||
149 | struct gk20a_sched_ctrl sched_ctrl; | ||
147 | }; | 150 | }; |
148 | 151 | ||
149 | static inline struct nvgpu_os_linux *nvgpu_os_linux_from_gk20a(struct gk20a *g) | 152 | static inline struct nvgpu_os_linux *nvgpu_os_linux_from_gk20a(struct gk20a *g) |