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