Deepak Nibade
8095b3cf9c
gpu: nvgpu: get VM reference for TSG
...
We store a reference to common address space of channels
in struct tsg_gk20a without increasing the refcount
This could result in freeing the address space even when
some channel in TSG needs it or when we need to free
common gr_ctx
Fix this by getting ref using gk20a_vm_get() when we store
the VM reference. We drop this reference with
gk20a_vm_put() when closing the TSG
Bug 1470692
Change-Id: Ifc1f29d32cd721810bfbb5a4db96095770318c17
Signed-off-by: Deepak Nibade <dnibade@nvidia.com >
Reviewed-on: http://git-master/r/495668
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com >
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com >
2015-03-18 12:11:10 -07:00
..
2015-03-18 12:11:01 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:11:05 -07:00
2015-03-18 12:11:02 -07:00
2015-03-18 12:11:01 -07:00
2015-03-18 12:11:01 -07:00
2015-03-18 12:10:47 -07:00
2015-03-18 12:10:40 -07:00
2015-03-18 12:10:43 -07:00
2015-03-18 12:11:05 -07:00
2015-03-18 12:11:01 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:11:09 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:10:24 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:10:47 -07:00
2015-03-18 12:10:40 -07:00
2015-03-18 12:11:09 -07:00
2015-03-18 12:10:46 -07:00
2015-03-18 12:10:40 -07:00
2015-03-18 12:10:40 -07:00
2015-03-18 12:11:09 -07:00
2015-03-18 12:11:09 -07:00
2015-03-18 12:10:45 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:11:09 -07:00
2015-03-18 12:11:09 -07:00
2015-03-18 12:11:09 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:10:06 -07:00
2015-03-18 12:08:54 -07:00
2015-03-18 12:11:10 -07:00
2015-03-18 12:10:51 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:11:09 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:11:04 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:10:49 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:09:42 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:10:53 -07:00
2015-03-18 12:09:05 -07:00
2015-03-18 12:09:42 -07:00
2015-03-18 12:10:52 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:10:16 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:09:06 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:10:41 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:11:00 -07:00
2015-03-18 12:11:00 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:11:01 -07:00
2015-03-18 12:11:09 -07:00
2015-03-18 12:11:01 -07:00
2015-03-18 12:10:23 -07:00
2015-03-18 12:11:06 -07:00
2015-03-18 12:11:01 -07:00
2015-03-18 12:11:01 -07:00
2015-03-18 12:11:09 -07:00
2015-03-18 12:10:56 -07:00
2015-03-18 12:11:09 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:11:06 -07:00
2015-03-18 12:11:06 -07:00
2015-03-18 12:10:10 -07:00
2015-03-18 12:09:52 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:10:40 -07:00
2015-03-18 12:10:40 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:11:10 -07:00
2015-03-18 12:11:10 -07:00