linux/drivers/gpu/host1x
Mikko Perttunen e902585fc8 gpu: host1x: Add support for syncpoint waits in CDMA pushbuffer
Add support for inserting syncpoint waits in the CDMA pushbuffer.
These waits need to be done in HOST1X class, while gather submitted
by the application execute in engine class.

Support is added by converting the gather list of job into a command
list that can include both gathers and waits. When the job is
submitted, these commands are pushed as the appropriate opcodes
on the CDMA pushbuffer.

Also supported are waits relative to the start of the job,
which are useful for jobs doing multiple things with an engine
that doesn't natively support pipelining.

While at it, use 32-bit waits on chips that support them.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2021-08-10 14:41:19 +02:00
..
hw gpu: host1x: Add support for syncpoint waits in CDMA pushbuffer 2021-08-10 14:41:19 +02:00
bus.c gpu: host1x: Split up client initalization and registration 2021-05-17 12:31:05 +02:00
bus.h
cdma.c gpu: host1x: Add no-recovery mode 2021-08-10 14:40:23 +02:00
cdma.h
channel.c gpu: host1x: Request channels for clients, not devices 2019-10-28 11:18:33 +01:00
channel.h gpu: host1x: Request channels for clients, not devices 2019-10-28 11:18:33 +01:00
debug.c gpu: host1x: Show number of pending waiters in debugfs 2021-03-30 19:53:24 +02:00
debug.h
dev.c gpu: host1x: Reserve VBLANK syncpoints at initialization 2021-03-31 17:42:13 +02:00
dev.h gpu: host1x: Reserve VBLANK syncpoints at initialization 2021-03-31 17:42:13 +02:00
fence.c gpu: host1x: Add DMA fence implementation 2021-08-10 14:39:50 +02:00
fence.h gpu: host1x: Add DMA fence implementation 2021-08-10 14:39:50 +02:00
intr.c gpu: host1x: Add DMA fence implementation 2021-08-10 14:39:50 +02:00
intr.h gpu: host1x: Add DMA fence implementation 2021-08-10 14:39:50 +02:00
job.c gpu: host1x: Add support for syncpoint waits in CDMA pushbuffer 2021-08-10 14:41:19 +02:00
job.h gpu: host1x: Add support for syncpoint waits in CDMA pushbuffer 2021-08-10 14:41:19 +02:00
Kconfig gpu: host1x: Unconditionally select IOMMU_IOVA 2019-11-01 10:49:17 +01:00
Makefile gpu: host1x: Add DMA fence implementation 2021-08-10 14:39:50 +02:00
mipi.c media: gpu: host1x: mipi: Keep MIPI clock enabled and mutex locked till calibration done 2020-08-28 15:12:38 +02:00
syncpt.c gpu: host1x: Add no-recovery mode 2021-08-10 14:40:23 +02:00
syncpt.h gpu: host1x: Add no-recovery mode 2021-08-10 14:40:23 +02:00