UPSTREAM: drm/virtio: implement context init: add virtio_gpu_fence_event
Similar to DRM_VMW_EVENT_FENCE_SIGNALED. Sends a pollable event to the DRM file descriptor when a fence on a specific ring is signaled. One difference is the event is not exposed via the UAPI -- this is because host responses are on a shared memory buffer of type BLOB_MEM_GUEST [this is the common way to receive responses with virtgpu]. As such, there is no context specific read(..) implementation either -- just a poll(..) implementation. Signed-off-by:Gurchetan Singh <gurchetansingh@chromium.org> Acked-by:
Nicholas Verne <nverne@chromium.org> Link: http://patchwork.freedesktop.org/patch/msgid/20210921232024.817-12-gurchetansingh@chromium.org Signed-off-by:
Gerd Hoffmann <kraxel@redhat.com> (cherry picked from commit cd7f5ca3) BUG=b:176158390, b:203009046, b:230100768 TEST=gfxbench and deqp-cts in arcvm Signed-off-by:
Rob Clark <robdclark@chromium.org> Change-Id: I284883b2db0a257d21ee6152b6aa7c2d74e7f090 Disallow-Recycled-Builds: test-failures Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/3469490 Reviewed-by:
Chia-I Wu <olv@google.com> Reviewed-by:
Ryan Neph <ryanneph@google.com>
Loading
Please sign in to comment