diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2011-08-10 09:06:41 +0300 |
---|---|---|
committer | Varun Wadekar <vwadekar@nvidia.com> | 2011-12-15 12:09:33 +0530 |
commit | ea3439b44aa972add474ed00e29252c0b31ad00e (patch) | |
tree | 0027eb9e42aea74318bfcc4e226f7439689d8aea /drivers/video/tegra/host/t20/t20.h | |
parent | 0f1e5fe255788265b3c2848ae739a8a912fcc636 (diff) |
video: tegra: host: Implement MPE context switch
Implement context switching for MPE. This allows doing multiple video
encodings at the same time.
Context switching relies on wait base being in sync with sync point. As
MPE user land does not use wait bases, the patch also enables automatic
wait base syncing.
This patch does not enable the context save/restore.
Bug 827192
Change-Id: I510c02fb6d02ffbc1b9537d33474d46022b6cf59
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/66881
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Diffstat (limited to 'drivers/video/tegra/host/t20/t20.h')
-rw-r--r-- | drivers/video/tegra/host/t20/t20.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/tegra/host/t20/t20.h b/drivers/video/tegra/host/t20/t20.h index 406841092f01..528718cc9c1d 100644 --- a/drivers/video/tegra/host/t20/t20.h +++ b/drivers/video/tegra/host/t20/t20.h @@ -30,5 +30,6 @@ int nvhost_init_t20_debug_support(struct nvhost_master *); int nvhost_init_t20_syncpt_support(struct nvhost_master *); int nvhost_init_t20_intr_support(struct nvhost_master *); int nvhost_init_t20_cpuaccess_support(struct nvhost_master *); +int nvhost_t20_save_context(struct nvhost_module *mod, u32 syncpt_id); #endif /* _NVHOST_T20_H_ */ |