summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/ce2_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/ce2_gk20a.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c b/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c
index 921ee6f8..5dfd2309 100644
--- a/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c
@@ -690,6 +690,12 @@ void gk20a_ce_delete_context(struct device *dev,
690 u32 ce_ctx_id) 690 u32 ce_ctx_id)
691{ 691{
692 struct gk20a *g = gk20a_from_dev(dev); 692 struct gk20a *g = gk20a_from_dev(dev);
693 gk20a_ce_delete_context_priv(g, ce_ctx_id);
694}
695
696void gk20a_ce_delete_context_priv(struct gk20a *g,
697 u32 ce_ctx_id)
698{
693 struct gk20a_ce_app *ce_app = &g->ce_app; 699 struct gk20a_ce_app *ce_app = &g->ce_app;
694 struct gk20a_gpu_ctx *ce_ctx, *ce_ctx_save; 700 struct gk20a_gpu_ctx *ce_ctx, *ce_ctx_save;
695 701