diff options
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/channel_gk20a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c index 1439410e..e631b836 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c | |||
@@ -1511,7 +1511,7 @@ int gk20a_alloc_channel_gpfifo(struct channel_gk20a *c, | |||
1511 | return 0; | 1511 | return 0; |
1512 | 1512 | ||
1513 | clean_up_unmap: | 1513 | clean_up_unmap: |
1514 | kfree(c->gpfifo.pipe); | 1514 | nvgpu_free(c->gpfifo.pipe); |
1515 | gk20a_gmmu_unmap_free(ch_vm, &c->gpfifo.mem); | 1515 | gk20a_gmmu_unmap_free(ch_vm, &c->gpfifo.mem); |
1516 | clean_up: | 1516 | clean_up: |
1517 | memset(&c->gpfifo, 0, sizeof(struct gpfifo_desc)); | 1517 | memset(&c->gpfifo, 0, sizeof(struct gpfifo_desc)); |