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/gk20a/gr_gk20a.h | |
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/gk20a/gr_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h index 55c5ceb7..51b87ac8 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h | |||
@@ -431,6 +431,8 @@ void gr_gk20a_init_blcg_mode(struct gk20a *g, u32 mode, u32 engine); | |||
431 | 431 | ||
432 | /* sm */ | 432 | /* sm */ |
433 | bool gk20a_gr_sm_debugger_attached(struct gk20a *g); | 433 | bool gk20a_gr_sm_debugger_attached(struct gk20a *g); |
434 | void gk20a_gr_clear_sm_hww(struct gk20a *g, | ||
435 | u32 gpc, u32 tpc, u32 global_esr); | ||
434 | 436 | ||
435 | #define gr_gk20a_elpg_protected_call(g, func) \ | 437 | #define gr_gk20a_elpg_protected_call(g, func) \ |
436 | ({ \ | 438 | ({ \ |