mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
Add tu104 specific HAL tu104_gr_falcon_ctrl_ctxsw() that processes below CTXSW methods to start/stop SMPC global mode : NVGPU_GR_FALCON_METHOD_START_SMPC_GLOBAL_MODE NVGPU_GR_FALCON_METHOD_STOP_SMPC_GLOBAL_MODE Add new tu104 specific HAL tu104_gr_update_smpc_global_mode() to trigger SMPC global mode start/stop using gops.gr.falcon.ctrl_ctxsw(). Update nvgpu_dbg_gpu_ioctl_smpc_ctxsw_mode() to enable/disable SMPC global mode if channel is not bound to debug session. Bug 2510974 Bug 2257799 Jira NVGPU-5360 Change-Id: I1f9d8f2a2d30a4738f291db3fc72c400d24f4048 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2368696 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>