aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/host1x.h
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2017-06-15 02:18:27 +0300
committerThierry Reding <treding@nvidia.com>2017-06-15 14:16:37 +0200
commitd0fbbdff2e19aabccc1107b7e12ab9f3cbf626ef (patch)
treea5f3ea968f30c1d4d1169a739d7051061e38ff3a /include/linux/host1x.h
parentdrm/tegra: Check for malformed offsets and sizes in the 'submit' IOCTL (diff)
downloadwireguard-linux-d0fbbdff2e19aabccc1107b7e12ab9f3cbf626ef.tar.xz
wireguard-linux-d0fbbdff2e19aabccc1107b7e12ab9f3cbf626ef.zip
drm/tegra: Correct copying of waitchecks and disable them in the 'submit' IOCTL
The waitchecks along with multiple syncpoints per submit are not ready for use yet, let's forbid them for now. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include/linux/host1x.h')
-rw-r--r--include/linux/host1x.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/host1x.h b/include/linux/host1x.h
index 840a8ad627b2..ba0b245da732 100644
--- a/include/linux/host1x.h
+++ b/include/linux/host1x.h
@@ -193,6 +193,13 @@ struct host1x_reloc {
unsigned long shift;
};
+struct host1x_waitchk {
+ struct host1x_bo *bo;
+ u32 offset;
+ u32 syncpt_id;
+ u32 thresh;
+};
+
struct host1x_job {
/* When refcount goes to zero, job can be freed */
struct kref ref;