summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/debug_sched.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-10-17 13:44:51 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-10-20 13:05:29 -0400
commitd7fe2fbacb06e95f921f27f99f457904a0c3a57a (patch)
tree4125b78771bfdb56b55b2681f10bfc4aff85dc47 /drivers/gpu/nvgpu/common/linux/debug_sched.c
parenta2c9c6ba0573bde2d4eada8a39d4e97f9749eef1 (diff)
gpu: nvgpu: Move sched to be Linux specific
Move sched parameter APIs to be Linux specific implementation. At the same time the sched_ctrl fields were moved to nvgpu_os_linux. JIRA NVGPU-259 Change-Id: I2397e2602e1c4783f2bebf3aec462634b7f86d4a Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1580649 GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/debug_sched.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/debug_sched.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/debug_sched.c b/drivers/gpu/nvgpu/common/linux/debug_sched.c
index a42deb18..5b7cbddf 100644
--- a/drivers/gpu/nvgpu/common/linux/debug_sched.c
+++ b/drivers/gpu/nvgpu/common/linux/debug_sched.c
@@ -21,7 +21,8 @@
21static int gk20a_sched_debugfs_show(struct seq_file *s, void *unused) 21static int gk20a_sched_debugfs_show(struct seq_file *s, void *unused)
22{ 22{
23 struct gk20a *g = s->private; 23 struct gk20a *g = s->private;
24 struct gk20a_sched_ctrl *sched = &g->sched_ctrl; 24 struct nvgpu_os_linux *l = nvgpu_os_linux_from_gk20a(g);
25 struct gk20a_sched_ctrl *sched = &l->sched_ctrl;
25 bool sched_busy = true; 26 bool sched_busy = true;
26 27
27 int n = sched->bitmap_size / sizeof(u64); 28 int n = sched->bitmap_size / sizeof(u64);