[PATCH v3 0/5] drm/virtio: ttm improvements

Gerd Hoffmann kraxel at redhat.com
Mon Mar 18 11:33:27 UTC 2019


changes in v3:
 - We can't drop fencing for the create ioctl (Gurchetan Singh).
   Patch #5 is largely rewritten because of that.

changes in v2:
 - some cleanup patches are reviewed and merged already, dropped them.
 - more verbose commit messages.

Gerd Hoffmann (5):
  drm/virtio: move virtio_gpu_object_{attach,detach} calls.
  drm/virtio: use struct to pass params to virtio_gpu_object_create()
  drm/virtio: params struct for virtio_gpu_cmd_create_resource()
  drm/virtio: params struct for virtio_gpu_cmd_create_resource_3d()
  drm/virtio: rework resource creation workflow.

 drivers/gpu/drm/virtio/virtgpu_drv.h    |  43 +++++++---
 drivers/gpu/drm/virtio/virtgpu_fence.c  |   4 +-
 drivers/gpu/drm/virtio/virtgpu_gem.c    |  35 ++++----
 drivers/gpu/drm/virtio/virtgpu_ioctl.c  | 107 ++++++------------------
 drivers/gpu/drm/virtio/virtgpu_object.c |  74 +++++++++++-----
 drivers/gpu/drm/virtio/virtgpu_ttm.c    |  92 ++++++--------------
 drivers/gpu/drm/virtio/virtgpu_vq.c     |  36 +++++---
 7 files changed, 177 insertions(+), 214 deletions(-)

-- 
2.18.1



More information about the dri-devel mailing list