mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
On production boards, there is requirement to disable GPU profiler and debugger support. Add DT property 'support-gpu-tools' which can be modified to enable/disable debugger/profiler support. The default behavior is to enable the debugging features and set 'support-gpu-tools' to 1. This property is chosen to be u32 value to be in sync with GPU vserser property by same name. The debugger/profiler support is disabled by skipping the creation of below nodes under /dev/nvgpu/: 1. ctxsw 2. dbg 3. prof 4. prof-dev 5. prof-ctx Bug 200773450 JIRA NVGPU-7109 Change-Id: I86d72d17fa7f5492e117a4c1cd1144623e9b6132 Signed-off-by: Tejal Kudav <tkudav@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2592012 Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit