Deepak Nibade
b81e9a2431
gpu: nvgpu: add refcounting for TSG
...
Add refcounting for TSGs and manage the refcounts as below :
- initialize ref when TSG is opened
- get ref when channel is bound to TSG
- drop the ref when channel is unbound (i.e. during channel close)
- drop the ref when TSG is closed
- when refcount drops to zero, we free the TSG
This refcounting makes it possible to close channels or TSG
in any order
Bug 1470692
Change-Id: Ia4b39164a4582c8169da62a91b9131094c67f5f8
Signed-off-by: Deepak Nibade <dnibade@nvidia.com >
Reviewed-on: http://git-master/r/495667
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-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:09 -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