gpu: host1x: Program interrupt destinations on Tegra234
authorMikko Perttunen <mperttunen@nvidia.com>
Mon, 27 Jun 2022 14:20:03 +0000 (17:20 +0300)
committerThierry Reding <treding@nvidia.com>
Fri, 8 Jul 2022 14:27:52 +0000 (16:27 +0200)
commit7afd1194a3cdb7ba5aa8d658b2d0655f61457c86
tree8d21569d402ec1fe45e6a1250fa862812d0bba13
parentee8f894f3fb326ac17b243441b8cbbb6fb0d0932
gpu: host1x: Program interrupt destinations on Tegra234

On Tegra234, each Host1x VM has 8 interrupt lines. Each syncpoint
can be configured with which interrupt line should be used for
threshold interrupt, allowing for load balancing.

For now, to keep backwards compatibility, just set all syncpoints
to the first interrupt.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/hw/intr_hw.c