diff options
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c index bd9476e4..b06ed9e6 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c | |||
@@ -2641,6 +2641,7 @@ static void __gr_gk20a_free_gr_ctx(struct gk20a *g, | |||
2641 | gr_ctx->pages, gr_ctx->iova, &attrs); | 2641 | gr_ctx->pages, gr_ctx->iova, &attrs); |
2642 | gr_ctx->pages = NULL; | 2642 | gr_ctx->pages = NULL; |
2643 | gr_ctx->iova = 0; | 2643 | gr_ctx->iova = 0; |
2644 | kfree(gr_ctx); | ||
2644 | } | 2645 | } |
2645 | 2646 | ||
2646 | void gr_gk20a_free_tsg_gr_ctx(struct tsg_gk20a *tsg) | 2647 | void gr_gk20a_free_tsg_gr_ctx(struct tsg_gk20a *tsg) |