aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/meson/meson_drv.c
diff options
context:
space:
mode:
authorGerd Hoffmann <[email protected]>2019-08-13 10:25:09 +0200
committerGerd Hoffmann <[email protected]>2019-08-28 09:28:06 +0200
commit744583ecc3d7c5e27d48ff74e575b893637f4b57 (patch)
tree96305451b58691edc9b66e8821ce8b9870963e93 /drivers/gpu/drm/meson/meson_drv.c
parent4100a7b834389e91638a0b789399fd7b31e258c1 (diff)
drm/virtio: notify virtqueues without holding spinlock
Split virtqueue_kick() call into virtqueue_kick_prepare(), which requires serialization, and virtqueue_notify(), which does not. Move the virtqueue_notify() call out of the critical section protected by the queue lock. This avoids triggering a vmexit while holding the lock and thereby fixes a rather bad spinlock contention. Suggested-by: Chia-I Wu <[email protected]> Signed-off-by: Gerd Hoffmann <[email protected]> Reviewed-by: Chia-I Wu <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/meson/meson_drv.c')
0 files changed, 0 insertions, 0 deletions