summaryrefslogtreecommitdiffstats
path: root/include/linux/tegra_vgpu.h
diff options
context:
space:
mode:
authorKonsta Holtta <kholtta@nvidia.com>2015-01-29 03:35:04 -0500
committerDan Willemsen <dwillemsen@nvidia.com>2015-04-04 21:08:27 -0400
commite1ae4e3053d5860d671e3264a467ade376828784 (patch)
treef9e728b8f195962a2dbcb18546523ae3ccf4d4cd /include/linux/tegra_vgpu.h
parent593c7a3f3027cf95e1b35f9acb8b3d0dc45f24e4 (diff)
gpu: nvgpu: protect channel ioctls with a mutex
Add a big mutex for protecting the channel during ioctls, in case the userspace uses the same channel from several threads at once. The lock is taken during all operations except CHANNEL_WAIT, which could deadlock. Bug 1603482 Change-Id: Ibed962eadc9f00645abd54413dde9aaee00377ab Signed-off-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-on: http://git-master/r/678871 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'include/linux/tegra_vgpu.h')
0 files changed, 0 insertions, 0 deletions