drm/virtio: switch from ttm to gem shmem helpers.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v9 Latest18 patches 2 repliesIn review
- v818 patches 5 repliesSuperseded
- v718 patches 0 repliesSuperseded
Earlier versions · 6
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v6 | 18 patches | 48 replies | Superseded | |
| v5 | 12 patches | 6 replies | Superseded | |
| v4 | 12 patches | 17 replies | Superseded | |
| v3 | 12 patches | 13 replies | Superseded | |
| v2 | 12 patches | 9 replies | Superseded | |
| v1 | 4 patches | 11 replies | Superseded |
Changes in v9 from the cover letter
- rebase to latest dem-misc-next, adapt to changes.
- fix issues found by Chia-I Wu.
Patches in v9 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/18 | drm/virtio: pass gem reservation object to ttm initdrivers/ | +2 | 0 replies | |
| 1/18 | drm/virtio: pass gem reservation object to ttm initdrivers/ | +2 | 0 replies | |
| 2/18 | drm/virtio: switch virtio_gpu_wait_ioctl() to gem helper.drivers/ | +16 | 0 replies | |
| 2/18 | drm/virtio: switch virtio_gpu_wait_ioctl() to gem helper.drivers/ | +16 | 0 replies | |
| 3/18 | drm/virtio: simplify cursor updatesdrivers/ | +3 | 0 replies | |
| 4/18 | drm/virtio: remove virtio_gpu_object_waitdrivers/ drivers/ | +0 | 0 replies | |
| 4/18 | drm/virtio: remove virtio_gpu_object_waitdrivers/ drivers/ | +0 | 0 replies | |
| 5/18 | drm/virtio: drop no_wait argument from virtio_gpu_object_reservedrivers/ drivers/ drivers/ | +6 | 0 replies | |
| 5/18 | drm/virtio: drop no_wait argument from virtio_gpu_object_reservedrivers/ drivers/ drivers/ | +6 | 0 replies | |
| 6/18 | drm/virtio: remove ttm calls from in virtio_gpu_object_{reserve,unreserve}drivers/ | +3 | 0 replies | |
| 6/18 | drm/virtio: remove ttm calls from in virtio_gpu_object_{reserve, unreserve}drivers/ | +3 | 0 replies | |
| 7/18 | drm/virtio: add virtio_gpu_object_array & helpersdrivers/ drivers/ | +110 | 0 replies | |
| 7/18 | drm/virtio: add virtio_gpu_object_array & helpersdrivers/ drivers/ | +110 | 0 replies | |
| 8/18 | drm/virtio: rework virtio_gpu_execbuffer_ioctl fencingdrivers/ drivers/ drivers/ | +38 | 0 replies | |
| 8/18 | drm/virtio: rework virtio_gpu_execbuffer_ioctl fencingdrivers/ drivers/ drivers/ | +38 | 0 replies | |
| 9/18 | drm/virtio: rework virtio_gpu_object_create fencingdrivers/ drivers/ drivers/ | +37 | 0 replies | |
| 9/18 | drm/virtio: rework virtio_gpu_object_create fencingdrivers/ drivers/ drivers/ | +37 | 0 replies | |
| 10/18 | drm/virtio: rework virtio_gpu_transfer_from_host_ioctl fencingdrivers/ drivers/ drivers/ | +23 | 0 replies | |
| 10/18 | drm/virtio: rework virtio_gpu_transfer_from_host_ioctl fencingdrivers/ drivers/ drivers/ | +23 | 0 replies | |
| 11/18 | drm/virtio: rework virtio_gpu_transfer_to_host_ioctl fencingdrivers/ drivers/ drivers/ +1 more | +47 | 0 replies | |
| 11/18 | drm/virtio: rework virtio_gpu_transfer_to_host_ioctl fencingdrivers/ drivers/ drivers/ +1 more | +47 | 0 replies | |
| 12/18 | drm/virtio: rework virtio_gpu_cmd_context_{attach,detach}_resourcedrivers/ drivers/ drivers/ | +21 | 0 replies | |
| 12/18 | drm/virtio: rework virtio_gpu_cmd_context_{attach, detach}_resourcedrivers/ drivers/ drivers/ | +21 | 0 replies | |
| 13/18 | drm/virtio: drop virtio_gpu_object_list_validate/virtio_gpu_unref_listdrivers/ drivers/ | +0 | 0 replies | |
| 13/18 | drm/virtio: drop virtio_gpu_object_list_validate/virtio_gpu_unref_listdrivers/ drivers/ | +0 | 0 replies | |
| 14/18 | drm/virtio: switch from ttm to gem shmem helpersdrivers/ drivers/ drivers/ +8 more | +80 | 0 replies | |
| 14/18 | drm/virtio: switch from ttm to gem shmem helpersdrivers/ drivers/ drivers/ +8 more | +80 | 0 replies | |
| 15/18 | drm/virtio: remove virtio_gpu_alloc_objectdrivers/ drivers/ drivers/ | +7 | 0 replies | |
| 15/18 | drm/virtio: remove virtio_gpu_alloc_objectdrivers/ drivers/ drivers/ | +7 | 0 replies | |
| 16/18 | drm/virtio: drop virtio_gpu_object_{ref,unref}drivers/ | +0 | 0 replies | |
| 16/18 | drm/virtio: drop virtio_gpu_object_{ref,unref}drivers/ | +0 | 0 replies | |
| 17/18 | drm/virtio: drop virtio_gpu_object_{reserve,unreserve}drivers/ | +0 | 0 replies | |
| 17/18 | drm/virtio: drop virtio_gpu_object_{reserve, unreserve}drivers/ | +0 | 0 replies | |
| 18/18 | drm/virtio: add fence sanity checkdrivers/ | +4 | 0 replies | |
| 18/18 | drm/virtio: add fence sanity checkdrivers/ | +4 | 0 replies |
Reviews trailers per patch
17 of 35 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Daniel Vetter | Chia-I Wu |
|---|---|---|
| Series | R-b | |
| 1/18 | R-b R-b | |
| 1/18 | R-b R-b | |
| 2/18 | R-b R-b | |
| 2/18 | R-b R-b | |
| 3/18 | R-b | |
| 4/18 | R-b R-b | |
| 4/18 | R-b R-b | |
| 5/18 | R-b R-b | |
| 5/18 | R-b R-b | |
| 6/18 | R-b R-b | |
| 6/18 | R-b R-b | |
| 7/18 | ||
| 7/18 | ||
| 8/18 | ||
| 8/18 | ||
| 9/18 | ||
| 9/18 | ||
| 10/18 | ||
| 10/18 | ||
| 11/18 | ||
| 11/18 | ||
| 12/18 | ||
| 12/18 | ||
| 13/18 | A-b A-b | |
| 13/18 | A-b A-b | |
| 14/18 | A-b A-b | |
| 14/18 | A-b A-b | |
| 15/18 | A-b A-b | |
| 15/18 | A-b A-b | |
| 16/18 | ||
| 16/18 | ||
| 17/18 | ||
| 17/18 | ||
| 18/18 | ||
| 18/18 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v9 00/18] drm/virtio: switch from ttm to gem shmem helpers.
ttm increasingly gets into the way while hacking on virtio-gpu memory management. It also overkill for what virtio-gpu needs. Lets get rid of it.
v9:
- rebase to latest dem-misc-next, adapt to changes.
- fix issues found by Chia-I Wu.
v8:
- rebase to latest drm-misc-next, adapt to changes.
v7:
- rebase to latest drm-misc-next
- reorder patches: switch all virtio commands to object array helpers first. then drop ttm, to make sure we don't release objects still in use.
- misc fixes.
v6:
- largely rewrite fencing logic, using the virtio_gpu_array_* helpers
- add more patches to the series.
v5:
- fence bugfixes.
- minor optimizations.
v4:
- make gem array helpers private to virtio.
- misc minor fixes.
v3:
- add gem array helpers.
- rework fencing.
please review.
thanks,
Gerd
Gerd Hoffmann (18):
drm/virtio: pass gem reservation object to ttm init drm/virtio: switch virtio_gpu_wait_ioctl() to gem helper. drm/virtio: simplify cursor updates
drm/virtio: remove virtio_gpu_object_wait
drm/virtio: drop no_wait argument from virtio_gpu_object_reserve drm/virtio: remove ttm calls from in
virtio_gpu_object_{reserve,unreserve} drm/virtio: add virtio_gpu_object_array & helpers drm/virtio: rework virtio_gpu_execbuffer_ioctl fencing drm/virtio: rework virtio_gpu_object_create fencing drm/virtio: rework virtio_gpu_transfer_from_host_ioctl fencing drm/virtio: rework virtio_gpu_transfer_to_host_ioctl fencing drm/virtio: rework virtio_gpu_cmd_context_{attach,detach}_resource drm/virtio: drop virtio_gpu_object_list_validate/virtio_gpu_unref_list drm/virtio: switch from ttm to gem shmem helpers drm/virtio: remove virtio_gpu_alloc_object
drm/virtio: drop virtio_gpu_object_{ref,unref}
drm/virtio: drop virtio_gpu_object_{reserve,unreserve} drm/virtio: add fence sanity check
drivers/gpu/drm/virtio/virtgpu_drv.h | 123 +++------- drivers/gpu/drm/virtio/virtgpu_drv.c | 20 +- drivers/gpu/drm/virtio/virtgpu_fence.c | 4 + drivers/gpu/drm/virtio/virtgpu_gem.c | 156 ++++++++---- drivers/gpu/drm/virtio/virtgpu_ioctl.c | 224 ++++++----------- drivers/gpu/drm/virtio/virtgpu_kms.c | 9 - drivers/gpu/drm/virtio/virtgpu_object.c | 222 ++++++----------- drivers/gpu/drm/virtio/virtgpu_plane.c | 34 +-- drivers/gpu/drm/virtio/virtgpu_prime.c | 34 --- drivers/gpu/drm/virtio/virtgpu_ttm.c | 305 ------------------------ drivers/gpu/drm/virtio/virtgpu_vq.c | 78 ++++-- drivers/gpu/drm/virtio/Kconfig | 2 +- drivers/gpu/drm/virtio/Makefile | 2 +- 13 files changed, 376 insertions(+), 837 deletions(-) delete mode 100644 drivers/gpu/drm/virtio/virtgpu_ttm.c
Signature · 6 lines
2.18.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel