diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2017-05-30 10:20:40 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-06-02 09:53:35 -0400 |
commit | 66d0c84f3ca42ab2453a71b850d9a2a4c556fdff (patch) | |
tree | 8b16ea2757348f63b9e7f328dc21d0187e6f05d7 /drivers/gpu/nvgpu/gv11b/fifo_gv11b.c | |
parent | 48afa1c69cb9a19613bde49792d4d2cbae2f7011 (diff) |
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 <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/1492113
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/fifo_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/fifo_gv11b.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
916 | gr_gk20a_init_cg_mode(g, ELCG_MODE, ELCG_RUN); | 916 | gr_gk20a_init_cg_mode(g, ELCG_MODE, ELCG_RUN); |
917 | 917 | ||
918 | if (rc_type == RC_TYPE_MMU_FAULT) | 918 | if (rc_type == RC_TYPE_MMU_FAULT) |
919 | gk20a_debug_dump(g->dev); | 919 | gk20a_debug_dump(g); |
920 | 920 | ||
921 | /* get the channel/TSG */ | 921 | /* get the channel/TSG */ |
922 | if (rc_type == RC_TYPE_MMU_FAULT && mmfault && mmfault->refch) { | 922 | if (rc_type == RC_TYPE_MMU_FAULT && mmfault && mmfault->refch) { |