687db2207b
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 error code. This is to allow fences that would never reach their syncpoint threshold to be cleaned up. The timeout can potentially be removed in the future after job tracking code has been refactored. Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
21 lines
292 B
Makefile
21 lines
292 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
host1x-y = \
|
|
bus.o \
|
|
syncpt.o \
|
|
dev.o \
|
|
intr.o \
|
|
cdma.o \
|
|
channel.o \
|
|
job.o \
|
|
debug.o \
|
|
mipi.o \
|
|
fence.o \
|
|
hw/host1x01.o \
|
|
hw/host1x02.o \
|
|
hw/host1x04.o \
|
|
hw/host1x05.o \
|
|
hw/host1x06.o \
|
|
hw/host1x07.o
|
|
|
|
obj-$(CONFIG_TEGRA_HOST1X) += host1x.o
|