diff options
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | 4 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mm_gk20a.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c index 488ae309..b4fa8f0f 100644 --- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | |||
@@ -3214,8 +3214,8 @@ static int gk20a_fifo_sched_debugfs_seq_show( | |||
3214 | tsg ? tsg->timeslice_us : ch->timeslice_us, | 3214 | tsg ? tsg->timeslice_us : ch->timeslice_us, |
3215 | ch->timeout_ms_max, | 3215 | ch->timeout_ms_max, |
3216 | tsg ? tsg->interleave_level : ch->interleave_level, | 3216 | tsg ? tsg->interleave_level : ch->interleave_level, |
3217 | ch->ch_ctx.gr_ctx ? ch->ch_ctx.gr_ctx->graphics_preempt_mode : -1, | 3217 | ch->ch_ctx.gr_ctx ? ch->ch_ctx.gr_ctx->graphics_preempt_mode : U32_MAX, |
3218 | ch->ch_ctx.gr_ctx ? ch->ch_ctx.gr_ctx->compute_preempt_mode : -1); | 3218 | ch->ch_ctx.gr_ctx ? ch->ch_ctx.gr_ctx->compute_preempt_mode : U32_MAX); |
3219 | gk20a_channel_put(ch); | 3219 | gk20a_channel_put(ch); |
3220 | } | 3220 | } |
3221 | return 0; | 3221 | return 0; |
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h index d2661733..d32e121a 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h | |||
@@ -124,8 +124,8 @@ struct gr_ctx_buffer_desc { | |||
124 | struct gr_ctx_desc { | 124 | struct gr_ctx_desc { |
125 | struct mem_desc mem; | 125 | struct mem_desc mem; |
126 | 126 | ||
127 | int graphics_preempt_mode; | 127 | u32 graphics_preempt_mode; |
128 | int compute_preempt_mode; | 128 | u32 compute_preempt_mode; |
129 | #ifdef CONFIG_ARCH_TEGRA_18x_SOC | 129 | #ifdef CONFIG_ARCH_TEGRA_18x_SOC |
130 | struct gr_ctx_desc_t18x t18x; | 130 | struct gr_ctx_desc_t18x t18x; |
131 | #endif | 131 | #endif |