summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/channel_gk20a.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
index 536ca9f3..31358468 100644
--- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
@@ -2378,7 +2378,6 @@ int gk20a_submit_channel_gpfifo(struct channel_gk20a *c,
2378 struct fifo_profile_gk20a *profile) 2378 struct fifo_profile_gk20a *profile)
2379{ 2379{
2380 struct gk20a *g = c->g; 2380 struct gk20a *g = c->g;
2381 struct device *d = dev_from_gk20a(g);
2382 struct priv_cmd_entry *wait_cmd = NULL; 2381 struct priv_cmd_entry *wait_cmd = NULL;
2383 struct priv_cmd_entry *incr_cmd = NULL; 2382 struct priv_cmd_entry *incr_cmd = NULL;
2384 struct gk20a_fence *pre_fence = NULL; 2383 struct gk20a_fence *pre_fence = NULL;
@@ -2394,13 +2393,10 @@ int gk20a_submit_channel_gpfifo(struct channel_gk20a *c,
2394 bool need_deferred_cleanup = false; 2393 bool need_deferred_cleanup = false;
2395 struct nvgpu_gpfifo __user *user_gpfifo = args ? 2394 struct nvgpu_gpfifo __user *user_gpfifo = args ?
2396 (struct nvgpu_gpfifo __user *)(uintptr_t)args->gpfifo : NULL; 2395 (struct nvgpu_gpfifo __user *)(uintptr_t)args->gpfifo : NULL;
2397 struct gk20a_platform *platform;
2398 2396
2399 if (g->driver_is_dying) 2397 if (g->driver_is_dying)
2400 return -ENODEV; 2398 return -ENODEV;
2401 2399
2402 platform = gk20a_get_platform(d);
2403
2404 if (c->has_timedout) 2400 if (c->has_timedout)
2405 return -ETIMEDOUT; 2401 return -ETIMEDOUT;
2406 2402