From 66d0c84f3ca42ab2453a71b850d9a2a4c556fdff Mon Sep 17 00:00:00 2001 From: Deepak Nibade Date: Tue, 30 May 2017 19:50:40 +0530 Subject: gpu: nvgpu: use correct parameters for gk20a_debug_dump() Pass struct gk20a * pointer instead of device pointer to gk20a_debug_dump() API This patch is needed since definition of gk20a_debug_dump() has changed Jira NVGPU-62 Change-Id: I7e67f6b792e575ee72eb6a5b0f7c53e5122a545f Signed-off-by: Deepak Nibade Reviewed-on: http://git-master/r/1492113 Reviewed-by: svccoveritychecker GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani --- drivers/gpu/nvgpu/gv11b/fifo_gv11b.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gv11b/fifo_gv11b.c') diff --git a/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c b/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c index b6691db5..367d61f5 100644 --- a/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c @@ -916,7 +916,7 @@ static void gv11b_fifo_teardown_ch_tsg(struct gk20a *g, u32 act_eng_bitmask, gr_gk20a_init_cg_mode(g, ELCG_MODE, ELCG_RUN); if (rc_type == RC_TYPE_MMU_FAULT) - gk20a_debug_dump(g->dev); + gk20a_debug_dump(g); /* get the channel/TSG */ if (rc_type == RC_TYPE_MMU_FAULT && mmfault && mmfault->refch) { -- cgit v1.2.2