diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2011-10-26 11:10:08 +0300 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 01:21:22 -0700 |
commit | 9e410fc20d125f5a091d41f14ef0933b70e77a94 (patch) | |
tree | 28ba06ef0093ede724d8d86864b8db2f94a93ca8 /drivers/video/tegra/host/nvhost_channel.h | |
parent | bacbf91ddbb4aef99ac643ef4908b4f49fea4aeb (diff) |
video: tegra: host: Keep wait bases in sync
Add opcodes to synchronize the wait base for each channel at the
beginning of each submit. This adds robustness towards misbehaving user
space.
Context clear for robustness clears the opcodes for synchronizing the
wait base. This change also removes that part of robustness.
Bug 886411
Reviewed-on: http://git-master/r/60423
(cherry picked from commit c3740abf73ef6b7fd9b7de5bc4b6615ba25adf5e)
Change-Id: I67dfe3d2303ea373e3119be49a568d64932d8016
Reviewed-on: http://git-master/r/62359
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Rebase-Id: R842ee4eee4b738d012eb065ac71448fd2684ca66
Diffstat (limited to 'drivers/video/tegra/host/nvhost_channel.h')
-rw-r--r-- | drivers/video/tegra/host/nvhost_channel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/tegra/host/nvhost_channel.h b/drivers/video/tegra/host/nvhost_channel.h index 18e27a177f66..ccd4a7537d9c 100644 --- a/drivers/video/tegra/host/nvhost_channel.h +++ b/drivers/video/tegra/host/nvhost_channel.h @@ -46,6 +46,7 @@ struct nvhost_channeldesc { u32 class; bool exclusive; bool keepalive; + bool waitbasesync; struct nvhost_moduledesc module; }; |