diff options
| author | Richard Zhao <rizhao@nvidia.com> | 2015-07-17 19:03:09 -0400 |
|---|---|---|
| committer | Arto Merilainen <amerilainen@nvidia.com> | 2015-07-22 07:33:16 -0400 |
| commit | f515f539e7deecc2e6f488ca85d2f618f795ef2c (patch) | |
| tree | 6168b419e87eae8bfe7156cbe6ab19d438fc06d3 /include/linux | |
| parent | fae9fdbb0a3b0b3d4767c16a616a75486e7230f8 (diff) | |
video/tegra/vhost: add channel recovery support
- Use first_get as job id passed to RM server as submit parameter.
- Handle cdma timeout sent from RM server
Find current cdma by client id and job id. Increment all sync points of
timeout channels.
Bug 1641792
Change-Id: I48f60e2b36401377aec4e00d2f52f8081c8c1d74
Signed-off-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-on: http://git-master/r/741037
(cherry picked from commit 0c252168f04671c596fe37801891d93744474d15)
Reviewed-on: http://git-master/r/771893
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Tested-by: Arto Merilainen <amerilainen@nvidia.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/nvhost.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/nvhost.h b/include/linux/nvhost.h index 5bb4efa1d..182b22b34 100644 --- a/include/linux/nvhost.h +++ b/include/linux/nvhost.h | |||
| @@ -319,6 +319,10 @@ struct nvhost_device_data { | |||
| 319 | 319 | ||
| 320 | /* Should we enable context isolation for this device? */ | 320 | /* Should we enable context isolation for this device? */ |
| 321 | bool isolate_contexts; | 321 | bool isolate_contexts; |
| 322 | |||
| 323 | /* channel user context list */ | ||
| 324 | struct mutex userctx_list_lock; | ||
| 325 | struct list_head userctx_list; | ||
| 322 | }; | 326 | }; |
| 323 | 327 | ||
| 324 | 328 | ||
