Re: [PATCH v7 01/15] gpu: host1x: Add DMA fence implementation

2021-06-15 Thread Dmitry Osipenko
.. > diff --git a/drivers/gpu/host1x/fence.c b/drivers/gpu/host1x/fence.c > new file mode 100644 > index ..2b0bb97f053f > --- /dev/null > +++ b/drivers/gpu/host1x/fence.c > @@ -0,0 +1,184 @@ > +// SPDX-License-Identifier: GPL-2.0-only > +/* > + * Syncpoint dma_fence implementation > +

[PATCH v7 01/15] gpu: host1x: Add DMA fence implementation

2021-06-10 Thread Mikko Perttunen
Add an implementation of dma_fences based on syncpoints. Syncpoint interrupts are used to signal fences. Additionally, after software signaling has been enabled, a 30 second timeout is started. If the syncpoint threshold is not reached within this period, the fence is signalled with an -ETIMEDOUT