mbox series

[v2,0/3] drm/virtio: rework command batching

Message ID 20200207221359.187340-1-olvaffe@gmail.com (mailing list archive)
Headers show
Series drm/virtio: rework command batching | expand

Message

Chia-I Wu Feb. 7, 2020, 10:13 p.m. UTC
Hi,

This series replaces the global disable_notify state by command-level bools to
control vq kicks.  When command batching is applied to more places, this
prevents one process from affecting another process.

v2: update to this convention

  virtio_gpu_cmd_foo: add foo and commit
  virtio_gpu_add_foo: add foo but do not commit

However, the spinlock is now grabbed twice in both add and commit.