gpu: nvgpu: plugin control-fifo ioctls

Enable control-fifo IOCTL operations for Linux

Jira NVGPU-8619

Signed-off-by: Debarshi Dutta <ddutta@nvidia.com>
Change-Id: I112322d207f6e20e60e726c24f47c6f73035562c
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2789850
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com>
Reviewed-by: Prateek Sethi <prsethi@nvidia.com>
Reviewed-by: Vaibhav Kachore <vkachore@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Debarshi Dutta
2022-10-11 11:03:47 +05:30
committed by mobile promotions
parent 280b69e66d
commit 7ab3b9937d

View File

@@ -166,6 +166,10 @@ const struct file_operations nvgpu_nvs_ctrl_fifo_ops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.release = nvgpu_nvs_ctrl_fifo_ops_release, .release = nvgpu_nvs_ctrl_fifo_ops_release,
.open = nvgpu_nvs_ctrl_fifo_ops_open, .open = nvgpu_nvs_ctrl_fifo_ops_open,
#ifdef CONFIG_COMPAT
.compat_ioctl = nvgpu_nvs_ctrl_fifo_ops_ioctl,
#endif
.unlocked_ioctl = nvgpu_nvs_ctrl_fifo_ops_ioctl,
}; };
static const struct file_operations nvgpu_nvs_ops = { static const struct file_operations nvgpu_nvs_ops = {