Files
linux-nvgpu/drivers/gpu/nvgpu/gk20a
Deepak Nibade ae2f9da28e gpu: nvgpu: fix channel close sequence
In gk20a_cde_remove_ctx(), current sequence is as below
- gk20a_channel_close()
- gk20a_deinit_cde_img()
  - gk20a_free_obj_ctx()

But gk20a_free_obj_ctx() needs reference to channel and hence
below crash is seen :

[ 3901.466223] Unable to handle kernel paging request at virtual address
00001624
...
[ 3901.535218] PC is at gk20a_free_obj_ctx+0x14/0xb0
[ 3901.539910] LR is at gk20a_deinit_cde_img+0xd8/0x12c

Fix this by closing the channel after gk20a_deinit_cde_img()

Bug 1625901

Change-Id: Ic2dc5af933b6d6ef8982c2b9f0caa28df204051f
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/770322
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2015-07-16 01:53:39 -07:00
..
2015-07-03 19:00:22 -07:00
2015-03-18 12:10:40 -07:00
2015-06-06 07:24:52 -07:00
2015-07-03 17:59:12 -07:00
2015-07-03 17:59:12 -07:00
2015-03-18 12:08:53 -07:00
2015-04-04 19:01:35 -07:00
2015-03-18 12:08:53 -07:00
2015-07-03 17:59:12 -07:00
2015-07-03 17:59:12 -07:00
2015-04-04 18:57:49 -07:00
2015-03-18 12:10:40 -07:00
2015-03-18 12:12:25 -07:00