diff options
author | Debarshi Dutta <ddutta@nvidia.com> | 2017-10-24 07:52:55 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-10-25 07:24:08 -0400 |
commit | 41496b359d858e1c28840eaee2e2e6bba485c642 (patch) | |
tree | ee08d566273e7f4f4435289ddae8b86906e0c0da /drivers/gpu/nvgpu/vgpu/gm20b/vgpu_gr_gm20b.c | |
parent | c61e21c868246faf7a9ffc812590941fc362af17 (diff) |
gpu: nvgpu: check gpfifo before submit work
User can call submit IOCTL before alloc_gpfifo IOCTL and can easily
cause a kernel panic. The fix checks for a valid gpfifo.mem before
proceeding with the submitted work.
Bug 1968309
Change-Id: I5c1fc6f52b25426cd45e58e8b2e0e5bc6aa0c32f
Signed-off-by: Debarshi Dutta <ddutta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1584519
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/gm20b/vgpu_gr_gm20b.c')
0 files changed, 0 insertions, 0 deletions