diff options
author | Seema Khowala <seemaj@nvidia.com> | 2017-07-02 14:21:24 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-07-05 06:06:58 -0400 |
commit | b7ae37cc32babbb433a017df12300fe4b4d5e2ac (patch) | |
tree | f70bea471be75ee1f97c139a3b6099bf559c3f0d /drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | |
parent | 3b1ab45ccc40683c4b51dd9022c3aeed2e7666ba (diff) |
gpu: nvgpu: add sm_debugger_attached gr ops
This is required to support t19x sm register address changes
JIRA GPUT19X-75
Change-Id: I7f961147e0e6464a71e240487f7bc964b0544e5d
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: https://git-master/r/1512213
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fifo_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c index 31b470d4..347ee7dd 100644 --- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | |||
@@ -1268,7 +1268,7 @@ bool gk20a_fifo_should_defer_engine_reset(struct gk20a *g, u32 engine_id, | |||
1268 | 1268 | ||
1269 | /* channel recovery is only deferred if an sm debugger | 1269 | /* channel recovery is only deferred if an sm debugger |
1270 | is attached and has MMU debug mode is enabled */ | 1270 | is attached and has MMU debug mode is enabled */ |
1271 | if (!gk20a_gr_sm_debugger_attached(g) || | 1271 | if (!g->ops.gr.sm_debugger_attached(g) || |
1272 | !g->ops.fb.is_debug_mode_enabled(g)) | 1272 | !g->ops.fb.is_debug_mode_enabled(g)) |
1273 | return false; | 1273 | return false; |
1274 | 1274 | ||