Konsta Holtta
6e22f39e87
gpu: nvpgu: cde: fix timeout mgmt, use two lists
...
If a channel timeout occurs, reload only the particular context/channel
where the timeout occurred, instead of destroying whole cde. Reloading
happens by allocating a replacement context and marking the offending
channel as soon-to-be-deleted.
Clean up the code by using two separate lists for free and used
contexts. Rename channel deallocation/allocation functions to better
describe what they do, and annotate the functions that need locking.
Also do not wait for channel idle before submitting, since the acquired
context has a ready channel already.
Bug 200046882
Change-Id: I4155a85ea0ed79e284309eb2ad0042df3938f1e2
Signed-off-by: Konsta Holtta <kholtta@nvidia.com >
Reviewed-on: http://git-master/r/591235
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com >
2015-03-18 12:12:06 -07:00
..
2015-03-18 12:12:01 -07:00
2015-03-18 12:11:46 -07:00
2015-03-18 12:12:06 -07:00
2015-03-18 12:12:06 -07:00
2015-03-18 12:12:01 -07:00
2015-03-18 12:11:58 -07:00
2015-03-18 12:12:01 -07:00
2015-03-18 12:10:40 -07:00
2015-03-18 12:10:43 -07:00
2015-03-18 12:11:50 -07:00
2015-03-18 12:11:56 -07:00
2015-03-18 12:11:33 -07:00
2015-03-18 12:12:01 -07:00
2015-03-18 12:11:33 -07:00
2015-03-18 12:12:01 -07:00
2015-03-18 12:11:33 -07:00
2015-03-18 12:11:46 -07:00
2015-03-18 12:11:33 -07:00
2015-03-18 12:11:33 -07:00
2015-03-18 12:10:40 -07:00
2015-03-18 12:12:02 -07:00
2015-03-18 12:11:19 -07:00
2015-03-18 12:10:40 -07:00
2015-03-18 12:11:33 -07:00
2015-03-18 12:12:01 -07:00
2015-03-18 12:11:09 -07:00
2015-03-18 12:10:45 -07:00
2015-03-18 12:11:50 -07:00
2015-03-18 12:11:58 -07:00
2015-03-18 12:12:04 -07:00
2015-03-18 12:12:01 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:12:01 -07:00
2015-03-18 12:08:54 -07:00
2015-03-18 12:12:03 -07:00
2015-03-18 12:11:57 -07:00
2015-03-18 12:11:57 -07:00
2015-03-18 12:12:01 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:11:57 -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:11:52 -07:00
2015-03-18 12:11:52 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:11:52 -07:00
2015-03-18 12:11:59 -07:00
2015-03-18 12:11:52 -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:11:52 -07:00
2015-03-18 12:11:52 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:11:52 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:09:06 -07:00
2015-03-18 12:11:52 -07:00
2015-03-18 12:10:41 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:11:56 -07:00
2015-03-18 12:12:01 -07:00
2015-03-18 12:11:33 -07:00
2015-03-18 12:11:56 -07:00
2015-03-18 12:11:56 -07:00
2015-03-18 12:12:05 -07:00
2015-03-18 12:11:46 -07:00
2015-03-18 12:11:51 -07:00
2015-03-18 12:12:04 -07:00
2015-03-18 12:12:04 -07:00
2015-03-18 12:11:59 -07:00
2015-03-18 12:12:01 -07:00
2015-03-18 12:11:56 -07:00
2015-03-18 12:11:09 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:12:01 -07:00
2015-03-18 12:11:33 -07:00
2015-03-18 12:10:10 -07:00
2015-03-18 12:11:33 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:11:46 -07:00
2015-03-18 12:10:40 -07:00
2015-03-18 12:11:52 -07:00
2015-03-18 12:11:33 -07:00
2015-03-18 12:11:50 -07:00
2015-03-18 12:11:50 -07:00