diff options
author | Lauri Peltonen <lpeltonen@nvidia.com> | 2015-02-16 16:31:46 +0900 |
---|---|---|
committer | Alexandre Courbot <acourbot@nvidia.com> | 2016-01-15 14:32:54 +0900 |
commit | 5b4f0a6847cfcbf6a4afd5460bc9b87233b48667 (patch) | |
tree | 57152eed825244b0d395b3b7774c1d12f906f58a /drm/nouveau/nouveau_dma.c | |
parent | 9721d21f3561b2f40d9431aeff92e4b4de72a08e (diff) | |
download | nouveau-5b4f0a6847cfcbf6a4afd5460bc9b87233b48667.tar.gz |
drm/nouveau: Add fence fd helpers
Add nouveau_fence_install, which installs a drm fence as a file
descriptor that can be returned to user space.
Add nouveau_fence_sync_fd, which pushes semaphore wait commands for
each Nouveau fence contained within the sync fd. If the sync fd
contains non-Nouveau fences, those are waited on the CPU.
Add missing fence_value_str and timeline_value_str callbacks to
nouveau fence_ops.
Signed-off-by: Lauri Peltonen <lpeltonen@nvidia.com>
[acourbot@nvidia.com: carry patch upstream]
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Diffstat (limited to 'drm/nouveau/nouveau_dma.c')
0 files changed, 0 insertions, 0 deletions