Displaying 2 results from an estimated 2 matches for "host1x_fence_op".
Did you mean:
host1x_fence_ops
2018 Jan 11
0
[PATCH 1/3] gpu: host1x: Add support for DMA fences
...s_expired(f->syncpt, f->threshold);
+}
+
+static void host1x_fence_release(struct dma_fence *fence)
+{
+ struct host1x_fence *f = to_host1x_fence(fence);
+
+ if (f->waiter)
+ host1x_intr_put_ref(f->host, f->syncpt->id, f->waiter);
+
+ kfree(f);
+}
+
+const struct dma_fence_ops host1x_fence_ops = {
+ .get_driver_name = host1x_fence_get_driver_name,
+ .get_timeline_name = host1x_fence_get_timeline_name,
+ .enable_signaling = host1x_fence_enable_signaling,
+ .signaled = host1x_fence_signaled,
+ .wait = dma_fence_default_wait,
+ .release = host1x_fence_release,
+};
+
+static void host1x_fen...
2018 Jan 11
6
[PATCH 0/3] drm/tegra: Add support for fence FDs
From: Thierry Reding <treding at nvidia.com>
This set of patches adds support for fences to Tegra DRM and complements
the fence FD support for Nouveau. Technically this isn't necessary for a
fence-based synchronization loop with Nouveau because the KMS core takes
care of all that, but engines behind host1x can use the IOCTL extensions
provided here to emit fence FDs that in turn can be