[PATCH 0/4] drm/virtio: try remove ttm

Gerd Hoffmann kraxel at redhat.com
Mon Jun 17 11:14:02 UTC 2019


ttm increasingly gets into the way while hacking on virtio-gpu memory
management.  So maybe we are better off without, using gem helpers
instead?

Trying remove the dependency on ttm reservations looks like a good first
first step to me.  This patch series is a (small) start on that.

At the point I'm looking for comments whevener the plan and the initial
patches look sane and for things I should possibly watch out for on the
way.

thanks,
  Gerd

Gerd Hoffmann (4):
  drm/virtio: pass gem reservation object to ttm init
  drm/virtio: switch virtio_gpu_wait_ioctl() to gem helper.
  drm/virtio: simplify cursor updates
  drm/virtio: remove virtio_gpu_object_wait

 drivers/gpu/drm/virtio/virtgpu_drv.h    |  1 -
 drivers/gpu/drm/virtio/virtgpu_ioctl.c  | 18 ++++--------------
 drivers/gpu/drm/virtio/virtgpu_object.c | 16 ++--------------
 drivers/gpu/drm/virtio/virtgpu_plane.c  | 13 +++----------
 4 files changed, 9 insertions(+), 39 deletions(-)

-- 
2.18.1



More information about the dri-devel mailing list