summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/os/linux/debug_sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/os/linux/debug_sched.c')
-rw-r--r--drivers/gpu/nvgpu/os/linux/debug_sched.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/debug_sched.c b/drivers/gpu/nvgpu/os/linux/debug_sched.c
index 5b7cbddf..fa43dc49 100644
--- a/drivers/gpu/nvgpu/os/linux/debug_sched.c
+++ b/drivers/gpu/nvgpu/os/linux/debug_sched.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (C) 2017 NVIDIA Corporation. All rights reserved. 2 * Copyright (C) 2017-2020 NVIDIA Corporation. All rights reserved.
3 * 3 *
4 * This software is licensed under the terms of the GNU General Public 4 * This software is licensed under the terms of the GNU General Public
5 * License version 2, as published by the Free Software Foundation, and 5 * License version 2, as published by the Free Software Foundation, and
@@ -21,8 +21,7 @@
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 nvgpu_os_linux *l = nvgpu_os_linux_from_gk20a(g); 24 struct nvgpu_sched_ctrl *sched = &g->sched_ctrl;
25 struct gk20a_sched_ctrl *sched = &l->sched_ctrl;
26 bool sched_busy = true; 25 bool sched_busy = true;
27 26
28 int n = sched->bitmap_size / sizeof(u64); 27 int n = sched->bitmap_size / sizeof(u64);