All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v7 0/9] VirtIO-GPU driver fixes and improvements
@ 2022-06-30 20:07 ` Dmitry Osipenko
  0 siblings, 0 replies; 52+ messages in thread
From: Dmitry Osipenko @ 2022-06-30 20:07 UTC (permalink / raw)
  To: David Airlie, Gerd Hoffmann, Gurchetan Singh, Chia-I Wu,
	Daniel Vetter, Thomas Zimmermann, Emil Velikov, Robin Murphy,
	Thomas Hellström
  Cc: dri-devel, linux-kernel, virtualization, Dmitry Osipenko, kernel

This series fixes few problem found in the VirtIO-GPU driver and makes
couple improvements. The "DMA API usage improvement" patch will be needed
later on when we will be about to add memory shrinker support to the driver,
it also cleans up code nicely.

Changelog:

v7: - Factored out VirtIO fixes from [1] since I'll be working on the
      dma-buf locking in a separate patchset now.

[1] https://lore.kernel.org/all/20220526235040.678984-1-dmitry.osipenko@collabora.com/

    - Added r-b from Thomas Hellström.

    - Added more fixes-tags to the patches.

    - The part of the v6 "Correct drm_gem_shmem_get_sg_table() error handling"
      patch got merged into linux-next recent from another patch [2],
      but that patch missed to zero out shmem->pages on error. Hence I
      updated my patch to fix the merged fix.

[2] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=c24968734abfed81c8f93dc5f44a7b7a9aecadfa

Dmitry Osipenko (9):
  drm/virtio: Correct drm_gem_shmem_get_sg_table() error handling
  drm/virtio: Check whether transferred 2D BO is shmem
  drm/virtio: Unlock reservations on virtio_gpu_object_shmem_init()
    error
  drm/virtio: Unlock reservations on dma_resv_reserve_fences() error
  drm/virtio: Use appropriate atomic state in
    virtio_gpu_plane_cleanup_fb()
  drm/virtio: Simplify error handling of virtio_gpu_object_create()
  drm/virtio: Improve DMA API usage for shmem BOs
  drm/virtio: Use dev_is_pci()
  drm/virtio: Return proper error codes instead of -1

 drivers/gpu/drm/virtio/virtgpu_drv.c    | 53 +++++---------------
 drivers/gpu/drm/virtio/virtgpu_drv.h    |  5 +-
 drivers/gpu/drm/virtio/virtgpu_gem.c    |  4 +-
 drivers/gpu/drm/virtio/virtgpu_kms.c    |  7 ++-
 drivers/gpu/drm/virtio/virtgpu_object.c | 65 ++++++-------------------
 drivers/gpu/drm/virtio/virtgpu_plane.c  |  6 +--
 drivers/gpu/drm/virtio/virtgpu_vq.c     | 21 ++++----
 7 files changed, 47 insertions(+), 114 deletions(-)

-- 
2.36.1


^ permalink raw reply	[flat|nested] 52+ messages in thread

end of thread, other threads:[~2022-07-19 11:30 UTC | newest]

Thread overview: 52+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-30 20:07 [PATCH v7 0/9] VirtIO-GPU driver fixes and improvements Dmitry Osipenko
2022-06-30 20:07 ` Dmitry Osipenko
2022-06-30 20:07 ` [PATCH v7 1/9] drm/virtio: Correct drm_gem_shmem_get_sg_table() error handling Dmitry Osipenko
2022-06-30 20:07   ` Dmitry Osipenko
2022-06-30 20:07 ` [PATCH v7 2/9] drm/virtio: Check whether transferred 2D BO is shmem Dmitry Osipenko
2022-06-30 20:07   ` Dmitry Osipenko
2022-06-30 20:07 ` [PATCH v7 3/9] drm/virtio: Unlock reservations on virtio_gpu_object_shmem_init() error Dmitry Osipenko
2022-06-30 20:07   ` Dmitry Osipenko
2022-06-30 20:07 ` [PATCH v7 4/9] drm/virtio: Unlock reservations on dma_resv_reserve_fences() error Dmitry Osipenko
2022-06-30 20:07   ` Dmitry Osipenko
2022-06-30 20:07 ` [PATCH v7 5/9] drm/virtio: Use appropriate atomic state in virtio_gpu_plane_cleanup_fb() Dmitry Osipenko
2022-06-30 20:07   ` Dmitry Osipenko
2022-06-30 20:07 ` [PATCH v7 6/9] drm/virtio: Simplify error handling of virtio_gpu_object_create() Dmitry Osipenko
2022-06-30 20:07   ` Dmitry Osipenko
2022-06-30 20:07 ` [PATCH v7 7/9] drm/virtio: Improve DMA API usage for shmem BOs Dmitry Osipenko
2022-06-30 20:07   ` Dmitry Osipenko
2022-07-05 13:53   ` Gerd Hoffmann
2022-07-05 13:53     ` Gerd Hoffmann
2022-07-05 13:53     ` Gerd Hoffmann
2022-07-05 14:27     ` Dmitry Osipenko
2022-07-05 14:27       ` Dmitry Osipenko
2022-07-05 15:45       ` Gerd Hoffmann
2022-07-05 15:45         ` Gerd Hoffmann
2022-07-05 15:45         ` Gerd Hoffmann
2022-07-05 16:03         ` Emil Velikov
2022-07-05 16:03           ` Emil Velikov
2022-07-05 17:02         ` Dmitry Osipenko
2022-07-05 17:02           ` Dmitry Osipenko
2022-07-05 20:56           ` Emil Velikov
2022-07-05 20:56             ` Emil Velikov
2022-07-06 10:30             ` Laszlo Ersek
2022-07-06 10:30               ` Laszlo Ersek
2022-07-06 10:30               ` Laszlo Ersek
2022-07-05 21:39           ` Rob Clark
2022-07-05 21:39             ` Rob Clark
2022-07-05 21:39             ` Rob Clark
2022-07-05 23:08             ` Dmitry Osipenko
2022-07-05 23:08               ` Dmitry Osipenko
2022-07-06  7:13           ` Gerd Hoffmann
2022-07-06  7:13             ` Gerd Hoffmann
2022-07-06  7:13             ` Gerd Hoffmann
2022-07-06  7:22             ` Dmitry Osipenko
2022-07-06  7:22               ` Dmitry Osipenko
2022-07-19 10:31               ` Gerd Hoffmann
2022-07-19 10:31                 ` Gerd Hoffmann
2022-07-19 10:31                 ` Gerd Hoffmann
2022-07-19 11:30                 ` Dmitry Osipenko
2022-07-19 11:30                   ` Dmitry Osipenko
2022-06-30 20:07 ` [PATCH v7 8/9] drm/virtio: Use dev_is_pci() Dmitry Osipenko
2022-06-30 20:07   ` Dmitry Osipenko
2022-06-30 20:07 ` [PATCH v7 9/9] drm/virtio: Return proper error codes instead of -1 Dmitry Osipenko
2022-06-30 20:07   ` Dmitry Osipenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.