summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2016-11-08 17:29:14 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2016-11-11 14:47:42 -0500
commit8fa5e7c58ac08fdb2432a4791595278d69827fb0 (patch)
tree18d76c47d66d314206315f1d81adcf8513872d09 /drivers/gpu/nvgpu/gk20a/gk20a.h
parente580e68f2374b3a0b6226eac7fc4e21dbdcbf22c (diff)
gpu: nvgpu: Remove IOCTL FREE_OBJ_CTX
We have never used the IOCTL FREE_OBJ_CTX. Using it leads to context being only partially available, and can lead to use-after-free. Bug 1834225 Change-Id: I9d2b632ab79760f8186d02e0f35861b3a6aae649 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1250004 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 7699cd53..07752d66 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -196,8 +196,6 @@ struct gpu_ops {
196 void (*free_channel_ctx)(struct channel_gk20a *c); 196 void (*free_channel_ctx)(struct channel_gk20a *c);
197 int (*alloc_obj_ctx)(struct channel_gk20a *c, 197 int (*alloc_obj_ctx)(struct channel_gk20a *c,
198 struct nvgpu_alloc_obj_ctx_args *args); 198 struct nvgpu_alloc_obj_ctx_args *args);
199 int (*free_obj_ctx)(struct channel_gk20a *c,
200 struct nvgpu_free_obj_ctx_args *args);
201 int (*bind_ctxsw_zcull)(struct gk20a *g, struct gr_gk20a *gr, 199 int (*bind_ctxsw_zcull)(struct gk20a *g, struct gr_gk20a *gr,
202 struct channel_gk20a *c, u64 zcull_va, 200 struct channel_gk20a *c, u64 zcull_va,
203 u32 mode); 201 u32 mode);