diff options
author | Mikko Perttunen <mperttunen@nvidia.com> | 2023-09-01 14:40:07 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2023-10-11 22:52:44 +0200 |
commit | f017f1e9cb3458a86f586a171e284e2ec46286db (patch) | |
tree | db1371d5319f1597a2b84f4b9c433c0c5d42e948 /drivers/gpu/host1x/dev.h | |
parent | b7c00cdf6df58b1d48d31d57f9431a200b0d0c88 (diff) |
gpu: host1x: Syncpoint interrupt sharding
Support sharded syncpoint interrupts on Tegra234+. This feature
allows specifying one of eight interrupt lines for each syncpoint
to lower processing latency of syncpoint threshold
interrupts.
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230901114008.672433-1-cyndis@kapsi.fi
Diffstat (limited to 'drivers/gpu/host1x/dev.h')
-rw-r--r-- | drivers/gpu/host1x/dev.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/host1x/dev.h b/drivers/gpu/host1x/dev.h index 75de50fe03d0..c8e302de7625 100644 --- a/drivers/gpu/host1x/dev.h +++ b/drivers/gpu/host1x/dev.h @@ -124,7 +124,8 @@ struct host1x { void __iomem *regs; void __iomem *hv_regs; /* hypervisor region */ void __iomem *common_regs; - int syncpt_irq; + int syncpt_irqs[8]; + int num_syncpt_irqs; struct host1x_syncpt *syncpt; struct host1x_syncpt_base *bases; struct device *dev; |