mirror of
https://github.com/torvalds/linux.git
synced 2026-04-19 07:13:56 -04:00
drm: virtio: use kmem_cache
Just use kmem_cache instead of rolling our own, limited implementation. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1488377348-5006-1-git-send-email-kraxel@redhat.com
This commit is contained in:
@@ -178,9 +178,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;
|
||||
struct kmem_cache *vbufs;
|
||||
bool vqs_ready;
|
||||
|
||||
struct idr resource_idr;
|
||||
|
||||
Reference in New Issue
Block a user