UPSTREAM: 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> (cherry picked from commit 9fdd90c0f42440b7f1e4a3f7262d222eee4b4cdf) Signed-off-by:
Greg Hartman <ghartman@google.com> BUG: 139386237 Change-Id: I84003fd45344b1d3d368bd0d1669625c05fc11c2
Loading
Please register or sign in to comment