mbox series

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

Message ID 20181019061847.18958-1-kraxel@redhat.com (mailing list archive)
Headers show
Series drm/virtio: rework ttm resource handling. | expand

Message

Gerd Hoffmann Oct. 19, 2018, 6:18 a.m. UTC
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(-)

Comments

Dave Airlie Oct. 22, 2018, 6:03 a.m. UTC | #1
On Fri, 19 Oct 2018 at 16:19, Gerd Hoffmann <kraxel@redhat.com> wrote:
>
> 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.

For the series:

Reviewed-by: Dave Airlie <airlied@redhat.com>
>
> 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@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel