mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 19:43:43 -04:00
virtio-gpu: add locking for vbuf pool
Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
committed by
Gerd Hoffmann
parent
441012aff6
commit
d5084f1711
@@ -162,6 +162,7 @@ struct virtio_gpu_device {
|
||||
struct virtio_gpu_queue ctrlq;
|
||||
struct virtio_gpu_queue cursorq;
|
||||
struct list_head free_vbufs;
|
||||
spinlock_t free_vbufs_lock;
|
||||
void *vbufs;
|
||||
bool vqs_ready;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user