drm/virtio: fixes and cleanups for vbuf queuing
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | drm/virtio: fix a wait_event conditiondrivers/ | +2 | 0 replies | |
| 2/11 | drm/virtio: remove incorrect ENOSPC checkdrivers/ | +6 | 0 replies | |
| 3/11 | drm/virtio: add virtio_gpu_vbuf_ctrl_hdrdrivers/ | +15 | 0 replies | |
| 4/11 | drm/virtio: no need to pass virtio_gpu_ctrl_hdrdrivers/ | +12 | 0 replies | |
| 5/11 | drm/virtio: unlock object array on errorsdrivers/ | +4 | 0 replies | |
| 6/11 | drm/virtio: set up virtqueue sgs before lockingdrivers/ | +35 | 0 replies | |
| 7/11 | drm/virtio: move locking into virtio_gpu_queue_ctrl_sgsdrivers/ | +35 | 0 replies | |
| 8/11 | drm/virtio: move the check for vqs_ready earlierdrivers/ | +8 | 0 replies | |
| 9/11 | drm/virtio: avoid an infinite loopdrivers/ drivers/ drivers/ +1 more | +7 | 2 replies | |
| 10/11 | drm/virtio: move virtqueue_notify into virtio_gpu_queue_ctrl_sgsdrivers/ | +10 | 0 replies | |
| 11/11 | drm/virtio: rework virtio_gpu_enable_notifydrivers/ drivers/ | +17 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/11] drm/virtio: fixes and cleanups for vbuf queuing
This series consists of fixes and cleanups for virtio_gpu_queue_fenced_ctrl_buffer, except for the last patch. The fixes are for corner cases that were overlooked. The cleanups make the last patch easier, but they should be good in themselves as well.
The last patch changes the disable_notify mechanism to call virtqueue_kick_prepare only once in virtio_gpu_enable_notify. It should be more efficient than doing that after each command is queued.
There is a follow-up patch that replaces the global disable_notify state by command-level bools to disable notify for individual commands, so that one process cannot affect another process. I can include it in v2 if you want to review it together with this series.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel