mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: compiled out non-safe devctls
The following DEVCTLs not needed in safety build Compiled out below DEVCTLs for safety build * NVGPU_GPU_DEVCTL_SET_THERM_ALERT_LIMIT * NVGPU_GPU_DEVCTL_GET_TPC_EXCEPTION_EN_STATUS * NVGPU_GPU_DEVCTL_GET_CPU_TIME_CORRELATION_INFO Also added config flag CONFIG_NVGPU_IOCTL_NON_FUSA JIRA NVGPU-3768 Change-Id: Ia233d0aac8201268524581f588d97390a913ab9c Signed-off-by: Sagar Kadamati <skadamati@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2159398 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
5798894b68
commit
77051a8c86
@@ -456,8 +456,10 @@ static const struct gpu_ops gm20b_ops = {
|
||||
gm20b_gr_intr_get_sm_hww_global_esr,
|
||||
.get_sm_no_lock_down_hww_global_esr_mask =
|
||||
gm20b_gr_intr_get_sm_no_lock_down_hww_global_esr_mask,
|
||||
#ifdef CONFIG_NVGPU_DEBUGGER
|
||||
.tpc_enabled_exceptions =
|
||||
gm20b_gr_intr_tpc_enabled_exceptions,
|
||||
#endif
|
||||
},
|
||||
.falcon = {
|
||||
.read_fecs_ctxsw_mailbox =
|
||||
@@ -959,7 +961,9 @@ static const struct gpu_ops gm20b_ops = {
|
||||
.ptimer = {
|
||||
.isr = gk20a_ptimer_isr,
|
||||
.read_ptimer = gk20a_read_ptimer,
|
||||
#ifdef CONFIG_NVGPU_IOCTL_NON_FUSA
|
||||
.get_timestamps_zipper = nvgpu_get_timestamps_zipper,
|
||||
#endif
|
||||
},
|
||||
#if defined(CONFIG_NVGPU_CYCLESTATS)
|
||||
.css = {
|
||||
|
||||
Reference in New Issue
Block a user