diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/ce2.c | 1 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/common/mm/mm.c | 5 |
2 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/ce2.c b/drivers/gpu/nvgpu/common/linux/ce2.c index 3fee23e5..5127a32b 100644 --- a/drivers/gpu/nvgpu/common/linux/ce2.c +++ b/drivers/gpu/nvgpu/common/linux/ce2.c | |||
@@ -173,7 +173,6 @@ int gk20a_ce_execute_ops(struct gk20a *g, | |||
173 | 173 | ||
174 | /* Next available command buffer queue Index */ | 174 | /* Next available command buffer queue Index */ |
175 | ++ce_ctx->cmd_buf_read_queue_offset; | 175 | ++ce_ctx->cmd_buf_read_queue_offset; |
176 | ++ce_ctx->submitted_seq_number; | ||
177 | } | 176 | } |
178 | } else { | 177 | } else { |
179 | ret = -ENOMEM; | 178 | ret = -ENOMEM; |
diff --git a/drivers/gpu/nvgpu/common/mm/mm.c b/drivers/gpu/nvgpu/common/mm/mm.c index cb7c443d..73af31c9 100644 --- a/drivers/gpu/nvgpu/common/mm/mm.c +++ b/drivers/gpu/nvgpu/common/mm/mm.c | |||
@@ -259,12 +259,11 @@ void nvgpu_init_mm_ce_context(struct gk20a *g) | |||
259 | #if defined(CONFIG_GK20A_VIDMEM) | 259 | #if defined(CONFIG_GK20A_VIDMEM) |
260 | if (g->mm.vidmem.size && (g->mm.vidmem.ce_ctx_id == (u32)~0)) { | 260 | if (g->mm.vidmem.size && (g->mm.vidmem.ce_ctx_id == (u32)~0)) { |
261 | g->mm.vidmem.ce_ctx_id = | 261 | g->mm.vidmem.ce_ctx_id = |
262 | gk20a_ce_create_context_with_cb(g, | 262 | gk20a_ce_create_context(g, |
263 | gk20a_fifo_get_fast_ce_runlist_id(g), | 263 | gk20a_fifo_get_fast_ce_runlist_id(g), |
264 | -1, | 264 | -1, |
265 | -1, | 265 | -1, |
266 | -1, | 266 | -1); |
267 | NULL); | ||
268 | 267 | ||
269 | if (g->mm.vidmem.ce_ctx_id == (u32)~0) | 268 | if (g->mm.vidmem.ce_ctx_id == (u32)~0) |
270 | nvgpu_err(g, | 269 | nvgpu_err(g, |