[PATCH v2 0/6] drm/virtio: rework ttm resource handling.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Trying to put the virtio-gpu driver's ttm resource handling
into shape.  Also improve the resource id handling.

v2:
 * drop patches 7+8, back to the drawing board, they'll
   come with a separate patch series later.
 * reorder patches.

Gerd Hoffmann (6):
  drm/virtio: track created object state
  drm/virtio: use virtio_gpu_object->hw_res_handle in
    virtio_gpufb_create()
  drm/virtio: use virtio_gpu_object->hw_res_handle in
    virtio_gpu_mode_dumb_create()
  drm/virtio: use virtio_gpu_object->hw_res_handle in
    virtio_gpu_resource_create_ioctl()
  drm/virtio: drop resource_id argument.
  drm/virtio: fix resource id handling

 drivers/gpu/drm/virtio/virtgpu_drv.h    |  8 +++-----
 drivers/gpu/drm/virtio/virtgpu_fb.c     |  7 +++----
 drivers/gpu/drm/virtio/virtgpu_gem.c    |  8 +++-----
 drivers/gpu/drm/virtio/virtgpu_ioctl.c  | 25 ++++++++----------------
 drivers/gpu/drm/virtio/virtgpu_object.c | 25 +++++++++++++++++++++++-
 drivers/gpu/drm/virtio/virtgpu_ttm.c    |  3 +--
 drivers/gpu/drm/virtio/virtgpu_vq.c     | 34 +++++++++------------------------
 7 files changed, 51 insertions(+), 59 deletions(-)

-- 
2.9.3

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux