summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r--drivers/gpu/nvgpu/gk20a/ce2_gk20a.c1
-rw-r--r--drivers/gpu/nvgpu/gk20a/ce2_gk20a.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c b/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c
index 8e600c18..b0f65647 100644
--- a/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c
@@ -441,7 +441,6 @@ u32 gk20a_ce_create_context_with_cb(struct gk20a *g,
441 } 441 }
442 442
443 ce_ctx->g = g; 443 ce_ctx->g = g;
444 ce_ctx->dev = g->dev;
445 ce_ctx->user_event_callback = user_event_callback; 444 ce_ctx->user_event_callback = user_event_callback;
446 445
447 ce_ctx->cmd_buf_read_queue_offset = 0; 446 ce_ctx->cmd_buf_read_queue_offset = 0;
diff --git a/drivers/gpu/nvgpu/gk20a/ce2_gk20a.h b/drivers/gpu/nvgpu/gk20a/ce2_gk20a.h
index f972e175..93905ab9 100644
--- a/drivers/gpu/nvgpu/gk20a/ce2_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/ce2_gk20a.h
@@ -99,7 +99,6 @@ struct gk20a_ce_app {
99/* ce context db */ 99/* ce context db */
100struct gk20a_gpu_ctx { 100struct gk20a_gpu_ctx {
101 struct gk20a *g; 101 struct gk20a *g;
102 struct device *dev;
103 u32 ctx_id; 102 u32 ctx_id;
104 struct nvgpu_mutex gpu_ctx_mutex; 103 struct nvgpu_mutex gpu_ctx_mutex;
105 int gpu_ctx_state; 104 int gpu_ctx_state;