diff options
author | Ashutosh Jain <ashutoshj@nvidia.com> | 2015-12-09 11:18:39 -0500 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2015-12-14 11:30:36 -0500 |
commit | f6eb64fcb56bebb61894272f26498bc0cc92169e (patch) | |
tree | 74196cfcc0faa96e43ff89a16ca6155e0a34649a /drivers/gpu/nvgpu/gm20b | |
parent | 14f43e8a976c5b3d45be12aaf972c891d0c756c3 (diff) |
gpu: nvgpu: Add 3 functions to regops interface.
This change adds the following IOCTLS:
- NVGPU_GPU_IOCTL_RESUME_FROM_PAUSE
- NVGPU_GPU_IOCTL_TRIGGER_SUSPEND
- NVGPU_GPU_IOCTL_CLEAR_SM_ERRORS
Bug 1619430
Change-Id: Iac37d515a753d8b799e631224eae2fa168b43e2c
Signed-off-by: ashutosh jain <ashutoshj@nvidia.com>
Reviewed-on: http://git-master/r/921378
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/hw_gr_gm20b.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hw_gr_gm20b.h b/drivers/gpu/nvgpu/gm20b/hw_gr_gm20b.h index 05f6cae5..41a7c885 100644 --- a/drivers/gpu/nvgpu/gm20b/hw_gr_gm20b.h +++ b/drivers/gpu/nvgpu/gm20b/hw_gr_gm20b.h | |||
@@ -3142,6 +3142,10 @@ static inline u32 gr_gpc0_tpc0_sm_dbgr_bpt_trap_mask_0_r(void) | |||
3142 | { | 3142 | { |
3143 | return 0x00504634; | 3143 | return 0x00504634; |
3144 | } | 3144 | } |
3145 | static inline u32 gr_gpcs_tpcs_sm_dbgr_bpt_pause_mask_r(void) | ||
3146 | { | ||
3147 | return 0x00419e24; | ||
3148 | } | ||
3145 | static inline u32 gr_gpc0_tpc0_sm_dbgr_bpt_trap_mask_stop_on_any_warp_disable_v(void) | 3149 | static inline u32 gr_gpc0_tpc0_sm_dbgr_bpt_trap_mask_stop_on_any_warp_disable_v(void) |
3146 | { | 3150 | { |
3147 | return 0x00000000; | 3151 | return 0x00000000; |