diff options
| author | Val Packett <val@invisiblethingslab.com> | 2025-12-10 12:39:23 -0300 |
|---|---|---|
| committer | Dmitry Osipenko <dmitry.osipenko@collabora.com> | 2026-02-12 02:30:03 +0300 |
| commit | df4dc947c46bb9f80038f52c6e38cb2d40c10e50 (patch) | |
| tree | c53b3b01fad0986646ce8597001b22da61f98387 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 40c1ccc1a3b86259e455a9a5082d5c8e0f944d62 (diff) | |
drm/virtio: Allow importing prime buffers when 3D is enabled
This functionality was added for using a KMS-only virtgpu with a physical
(or SR-IOV) headless GPU in passthrough, but it should not be restricted
to KMS-only mode. It can be used with cross-domain to pass guest memfds
to the host compositor with zero copies (using udmabuf on both sides).
Drop the check for the absence of virgl_3d to allow for more use cases.
Fixes: ca77f27a2665 ("drm/virtio: Import prime buffers from other devices as guest blobs")
Signed-off-by: Val Packett <val@invisiblethingslab.com>
Reviewed-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Link: https://patch.msgid.link/20251210154755.1119861-2-val@invisiblethingslab.com
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
