From 87373abc9598bf5c57f429ea246497d3019a6034 Mon Sep 17 00:00:00 2001 From: Kevin Huang Date: Wed, 23 Jul 2014 13:52:48 -0700 Subject: gpu: nvgpu: gm20b: use gpc_mmu to check debug mode Bug 1534793 Change-Id: I8a4c35914b58dd13a7c10c668de9d4662d947d8c Signed-off-by: Kevin Huang Reviewed-on: http://git-master/r/441377 Reviewed-by: Terje Bergstrom Tested-by: Terje Bergstrom --- drivers/gpu/nvgpu/gk20a/gr_gk20a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.c') diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c index 3298a383..a2832a9f 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c @@ -5267,7 +5267,7 @@ static int gk20a_gr_lock_down_sm(struct gk20a *g, u32 global_esr_mask) unsigned long end_jiffies = jiffies + msecs_to_jiffies(gk20a_get_gr_idle_timeout(g)); u32 delay = GR_IDLE_CHECK_DEFAULT; - bool mmu_debug_mode_enabled = gk20a_mm_mmu_debug_mode_enabled(g); + bool mmu_debug_mode_enabled = g->ops.mm.is_debug_mode_enabled(g); u32 dbgr_control0; gk20a_dbg(gpu_dbg_intr | gpu_dbg_gpu_dbg, "locking down SM"); -- cgit v1.2.2