diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/channel_gk20a.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c index d61656fc..a32496a2 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c | |||
@@ -1589,13 +1589,6 @@ int gk20a_submit_channel_gpfifo(struct channel_gk20a *c, | |||
1589 | gk20a_dbg_info("pre-submit put %d, get %d, size %d", | 1589 | gk20a_dbg_info("pre-submit put %d, get %d, size %d", |
1590 | c->gpfifo.put, c->gpfifo.get, c->gpfifo.entry_num); | 1590 | c->gpfifo.put, c->gpfifo.get, c->gpfifo.entry_num); |
1591 | 1591 | ||
1592 | /* Invalidate tlb if it's dirty... */ | ||
1593 | /* TBD: this should be done in the cmd stream, not with PRIs. */ | ||
1594 | /* We don't know what context is currently running... */ | ||
1595 | /* Note also: there can be more than one context associated with the */ | ||
1596 | /* address space (vm). */ | ||
1597 | g->ops.mm.tlb_invalidate(c->vm); | ||
1598 | |||
1599 | /* Make sure we have enough space for gpfifo entries. If not, | 1592 | /* Make sure we have enough space for gpfifo entries. If not, |
1600 | * wait for signals from completed submits */ | 1593 | * wait for signals from completed submits */ |
1601 | if (gp_free_count(c) < num_entries + extra_entries) { | 1594 | if (gp_free_count(c) < num_entries + extra_entries) { |