]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
gpu: host1x: Implement syncpoint wait using DMA fences
authorMikko Perttunen <mperttunen@nvidia.com>
Thu, 19 Jan 2023 13:09:18 +0000 (15:09 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 26 Jan 2023 14:55:38 +0000 (15:55 +0100)
commitf0fb260a0cdb014b22a5f7733279c205f2cba62a
treecb2a65225e8444f6b440421deffde45b0f2a745b
parent1b5c09de25e8c08655c270a70e5e74e93b6bad1f
gpu: host1x: Implement syncpoint wait using DMA fences

In anticipation of removal of the intr API, move host1x_syncpt_wait
to use DMA fences instead. As of this patch, this means that waits
have a 30 second maximum timeout because of the implicit timeout
we have with fences, but that will be lifted in a follow-up patch.

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