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