* [PATCH v2 0/1] Implement device_attach for virtio gpu
@ 2024-01-29 10:12 Julia Zhang
0 siblings, 0 replies; only message in thread
From: Julia Zhang @ 2024-01-29 10:12 UTC (permalink / raw)
To: Gurchetan Singh, Chia-I Wu, David Airlie, Gerd Hoffmann,
linux-kernel, dri-devel, amd-gfx, virtualization
Cc: Alex Deucher, Christian König, Daniel Vetter, David Airlie,
Erik Faye-Lund, Marek Olšák,
Pierre-Eric Pelloux-Prayer, Honglei Huang, Chen Jiqian,
Huang Rui, Julia Zhang
To realize dGPU prime feature for virtio gpu, we are trying to let dGPU
import vram object of virtio gpu. As vram objects don't have backing pages
and thus can't implement the drm_gem_object_funcs.get_sg_table callback,
this removes calling drm_gem_map_dma_buf in virtgpu_gem_map_dma_buf and
implement virtgpu specific map/unmap/attach callbacks to support both of
shmem objects and vram objects.
Changes from v1 to v2:
-Reimplement virtgpu_gem_device_attach()
-Remove calling drm dma-buf funcs in virtgpu callbacks and reimplement virtgpu
specific dma-buf callbacks.
Julia Zhang (1):
drm/virtio: Implement device_attach
drivers/gpu/drm/virtio/virtgpu_prime.c | 40 +++++++++++++++++++++++---
1 file changed, 36 insertions(+), 4 deletions(-)
--
2.34.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-01-29 10:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-29 10:12 [PATCH v2 0/1] Implement device_attach for virtio gpu Julia Zhang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®