summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
diff options
context:
space:
mode:
authorAshutosh Jain <ashutoshj@nvidia.com>2015-12-09 11:18:39 -0500
committerTerje Bergstrom <tbergstrom@nvidia.com>2015-12-14 11:30:36 -0500
commitf6eb64fcb56bebb61894272f26498bc0cc92169e (patch)
tree74196cfcc0faa96e43ff89a16ca6155e0a34649a /drivers/gpu/nvgpu/gk20a/gr_gk20a.c
parent14f43e8a976c5b3d45be12aaf972c891d0c756c3 (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.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gr_gk20a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
index ea6bca2f..30beb962 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
@@ -5159,7 +5159,7 @@ bool gk20a_gr_sm_debugger_attached(struct gk20a *g)
5159 return false; 5159 return false;
5160} 5160}
5161 5161
5162static void gk20a_gr_clear_sm_hww(struct gk20a *g, 5162void gk20a_gr_clear_sm_hww(struct gk20a *g,
5163 u32 gpc, u32 tpc, u32 global_esr) 5163 u32 gpc, u32 tpc, u32 global_esr)
5164{ 5164{
5165 u32 offset = proj_gpc_stride_v() * gpc + 5165 u32 offset = proj_gpc_stride_v() * gpc +