gpu: nvgpu: Remove IOCTL FREE_OBJ_CTX
authorDebarshi Dutta <ddutta@nvidia.com>
Wed, 21 Jun 2017 10:45:09 +0000 (15:45 +0530)
committerWinnie Hsu <whsu@nvidia.com>
Wed, 26 Jul 2017 18:27:09 +0000 (11:27 -0700)
commit2db040946ff8340485b2b33fe5a46f3166fa96f6
tree7927c17fdb41409bb1ec37a42b465b337434f9b3
parent481eb890d4c989e61a998dca11797a3035f1b1de
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 1885775

Change-Id: I9d2b632ab79760f8186d02e0f35861b3a6aae649
Signed-off-by: Debarshi Dutta <ddutta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1506479
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
drivers/gpu/nvgpu/gk20a/channel_gk20a.c
drivers/gpu/nvgpu/gk20a/channel_gk20a.h
drivers/gpu/nvgpu/gk20a/gr_gk20a.c
drivers/gpu/nvgpu/gk20a/gr_gk20a.h
include/linux/nvhost_ioctl.h