diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/channel_gk20a.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c index 02ec5835..0a6a40a8 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c | |||
@@ -1361,9 +1361,6 @@ int gk20a_channel_alloc_priv_cmdbuf(struct channel_gk20a *c, u32 orig_size, | |||
1361 | } | 1361 | } |
1362 | 1362 | ||
1363 | e->size = orig_size; | 1363 | e->size = orig_size; |
1364 | e->gp_get = c->gpfifo.get; | ||
1365 | e->gp_put = c->gpfifo.put; | ||
1366 | e->gp_wrap = c->gpfifo.wrap; | ||
1367 | e->mem = &q->mem; | 1364 | e->mem = &q->mem; |
1368 | 1365 | ||
1369 | /* if we have increased size to skip free space in the end, set put | 1366 | /* if we have increased size to skip free space in the end, set put |
@@ -2163,9 +2160,6 @@ int gk20a_submit_channel_gpfifo(struct channel_gk20a *c, | |||
2163 | 2160 | ||
2164 | c->gpfifo.put = (c->gpfifo.put + 1) & | 2161 | c->gpfifo.put = (c->gpfifo.put + 1) & |
2165 | (c->gpfifo.entry_num - 1); | 2162 | (c->gpfifo.entry_num - 1); |
2166 | |||
2167 | /* save gp_put */ | ||
2168 | wait_cmd->gp_put = c->gpfifo.put; | ||
2169 | } | 2163 | } |
2170 | 2164 | ||
2171 | /* | 2165 | /* |
@@ -2250,9 +2244,6 @@ int gk20a_submit_channel_gpfifo(struct channel_gk20a *c, | |||
2250 | 2244 | ||
2251 | c->gpfifo.put = (c->gpfifo.put + 1) & | 2245 | c->gpfifo.put = (c->gpfifo.put + 1) & |
2252 | (c->gpfifo.entry_num - 1); | 2246 | (c->gpfifo.entry_num - 1); |
2253 | |||
2254 | /* save gp_put */ | ||
2255 | incr_cmd->gp_put = c->gpfifo.put; | ||
2256 | } | 2247 | } |
2257 | 2248 | ||
2258 | mutex_lock(&c->last_submit.fence_lock); | 2249 | mutex_lock(&c->last_submit.fence_lock); |