diff options
author | Arto Merilainen <amerilainen@nvidia.com> | 2013-10-14 08:21:53 -0400 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2013-10-31 04:55:48 -0400 |
commit | f5a954fed9b3eb04973ede72c50c66157fa9e15b (patch) | |
tree | d9d6faeb5b2bafbc5a4143feb10e27d975ec1da4 /drivers/gpu/host1x/dev.h | |
parent | 8736fe81532182ba0086a371fae0708ea42a2cdf (diff) |
gpu: host1x: Add syncpoint base support
This patch adds support for hardware syncpoint bases. This creates
a simple mechanism to stall the command FIFO until an operation is
completed.
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/host1x/dev.h')
-rw-r--r-- | drivers/gpu/host1x/dev.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/host1x/dev.h b/drivers/gpu/host1x/dev.h index 6cf689b9e17b..a61a976e7a42 100644 --- a/drivers/gpu/host1x/dev.h +++ b/drivers/gpu/host1x/dev.h | |||
@@ -27,6 +27,7 @@ | |||
27 | #include "job.h" | 27 | #include "job.h" |
28 | 28 | ||
29 | struct host1x_syncpt; | 29 | struct host1x_syncpt; |
30 | struct host1x_syncpt_base; | ||
30 | struct host1x_channel; | 31 | struct host1x_channel; |
31 | struct host1x_cdma; | 32 | struct host1x_cdma; |
32 | struct host1x_job; | 33 | struct host1x_job; |
@@ -102,6 +103,7 @@ struct host1x { | |||
102 | 103 | ||
103 | void __iomem *regs; | 104 | void __iomem *regs; |
104 | struct host1x_syncpt *syncpt; | 105 | struct host1x_syncpt *syncpt; |
106 | struct host1x_syncpt_base *bases; | ||
105 | struct device *dev; | 107 | struct device *dev; |
106 | struct clk *clk; | 108 | struct clk *clk; |
107 | 109 | ||