diff options
author | Robert Foss <robert.foss@collabora.com> | 2018-11-12 17:51:54 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-11-14 14:21:01 +0100 |
commit | 9fdd90c0f42440b7f1e4a3f7262d222eee4b4cdf (patch) | |
tree | 3790a9c569e93d98f8603742d85bf23ae5958dd5 /drivers/thunderbolt/tb.c | |
parent | 2ae7f165c0b022a8ed1732f8ab2c11b2c173146e (diff) |
drm/virtio: add virtio_gpu_alloc_fence()
Refactor fence creation, add fences to relevant GPU
operations and add cursor helper functions.
This removes the potential for allocation failures from the
cmd_submit and atomic_commit paths.
Now a fence will be allocated first and only after that
will we proceed with the rest of the execution.
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.com>
Signed-off-by: Robert Foss <robert.foss@collabora.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20181112165157.32765-2-robert.foss@collabora.com
Suggested-by: Rob Herring <robh@kernel.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'drivers/thunderbolt/tb.c')
0 files changed, 0 insertions, 0 deletions