mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 09:57:08 +03:00
-Allow only usermode submit, check for gpfifo max size. -Map buffer offset must be page aligned and in multiple of page size. -Check for unmapped address whether it's alloced or not. -Offset in alloc space must be multiple of page size. -Free space offset must be in the range of alloced space. Jira NVGPU-4470 Change-Id: I9d5e4eb121d6d462f8b8d17b31c839b34d7d6c1d Signed-off-by: shashank singh <shashsingh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2298188 Reviewed-by: Vaibhav Kachore <vkachore@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit
17 KiB
17 KiB