[PATCH 0/8] 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.

Gerd Hoffmann (8):
  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 from virtio_gpu_object_attach()
  drm/virtio: track created object state
  drm/virtio: fix resource id handling
  drm/virtio: move virtio_gpu_object_{attach,detach} calls.
  drm/virtio: move objects to TTM_PL_TT after creation

 drivers/gpu/drm/virtio/virtgpu_drv.h    |  8 ++--
 drivers/gpu/drm/virtio/virtgpu_fb.c     | 10 ++---
 drivers/gpu/drm/virtio/virtgpu_gem.c    | 10 ++---
 drivers/gpu/drm/virtio/virtgpu_ioctl.c  | 35 ++++++++--------
 drivers/gpu/drm/virtio/virtgpu_object.c | 60 +++++++++++++++++++++++++++-
 drivers/gpu/drm/virtio/virtgpu_ttm.c    | 71 ++++++++++-----------------------
 drivers/gpu/drm/virtio/virtgpu_vq.c     | 32 ++++-----------
 7 files changed, 114 insertions(+), 112 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