From f515f539e7deecc2e6f488ca85d2f618f795ef2c Mon Sep 17 00:00:00 2001 From: Richard Zhao Date: Fri, 17 Jul 2015 16:03:09 -0700 Subject: 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 Reviewed-on: http://git-master/r/741037 (cherry picked from commit 0c252168f04671c596fe37801891d93744474d15) Reviewed-on: http://git-master/r/771893 Reviewed-by: Arto Merilainen Tested-by: Arto Merilainen --- include/linux/nvhost.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/linux') 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 { /* Should we enable context isolation for this device? */ bool isolate_contexts; + + /* channel user context list */ + struct mutex userctx_list_lock; + struct list_head userctx_list; }; -- cgit v1.2.2