diff options
author | Mikko Perttunen <mperttunen@nvidia.com> | 2021-06-10 14:04:42 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2021-08-10 14:39:50 +0200 |
commit | 687db2207b1bc94ca34743871167923a6de78d85 (patch) | |
tree | d7c724be2782c602454234e74dfc074717b7c19b /kernel/compat.c | |
parent | e73f0f0ee7541171d89f2e2491130c7771ba58d3 (diff) | |
download | linux-687db2207b1bc94ca34743871167923a6de78d85.tar.bz2 |
gpu: host1x: Add DMA fence implementation
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>
Diffstat (limited to 'kernel/compat.c')
0 files changed, 0 insertions, 0 deletions