mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
Some of the debugger and graphics specific functions were already not being used in safety build. Compile out their definitions and declarations as well. Also, fail preemption set call if non-zero graphics preemption mode is requested in safety build. Jira NVGPU-3967 Change-Id: Iaf5e3bd58e6096da40301b79e9295a6c5893cd4a Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2191764 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>