diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/debug_sched.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/debug_sched.c | 3 |
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 @@ | |||
21 | static int gk20a_sched_debugfs_show(struct seq_file *s, void *unused) | 21 | static 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); |