diff options
Diffstat (limited to 'drivers/gpu/nvgpu/os/linux/sched.h')
-rw-r--r-- | drivers/gpu/nvgpu/os/linux/sched.h | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/sched.h b/drivers/gpu/nvgpu/os/linux/sched.h index a699bbea..e88f37f5 100644 --- a/drivers/gpu/nvgpu/os/linux/sched.h +++ b/drivers/gpu/nvgpu/os/linux/sched.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2016-2020, NVIDIA CORPORATION. All rights reserved. |
3 | * | 3 | * |
4 | * This program is free software; you can redistribute it and/or modify it | 4 | * This program is free software; you can redistribute it and/or modify it |
5 | * under the terms and conditions of the GNU General Public License, | 5 | * under the terms and conditions of the GNU General Public License, |
@@ -21,25 +21,6 @@ struct gpu_ops; | |||
21 | struct tsg_gk20a; | 21 | struct tsg_gk20a; |
22 | struct poll_table_struct; | 22 | struct poll_table_struct; |
23 | 23 | ||
24 | struct gk20a_sched_ctrl { | ||
25 | struct gk20a *g; | ||
26 | |||
27 | struct nvgpu_mutex control_lock; | ||
28 | bool control_locked; | ||
29 | bool sw_ready; | ||
30 | struct nvgpu_mutex status_lock; | ||
31 | struct nvgpu_mutex busy_lock; | ||
32 | |||
33 | u64 status; | ||
34 | |||
35 | size_t bitmap_size; | ||
36 | u64 *active_tsg_bitmap; | ||
37 | u64 *recent_tsg_bitmap; | ||
38 | u64 *ref_tsg_bitmap; | ||
39 | |||
40 | struct nvgpu_cond readout_wq; | ||
41 | }; | ||
42 | |||
43 | int gk20a_sched_dev_release(struct inode *inode, struct file *filp); | 24 | int gk20a_sched_dev_release(struct inode *inode, struct file *filp); |
44 | int gk20a_sched_dev_open(struct inode *inode, struct file *filp); | 25 | int gk20a_sched_dev_open(struct inode *inode, struct file *filp); |
45 | long gk20a_sched_dev_ioctl(struct file *, unsigned int, unsigned long); | 26 | long gk20a_sched_dev_ioctl(struct file *, unsigned int, unsigned long); |