drm: virtio: use kmem_cache
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 1 Mar 2017 14:09:08 +0000 (15:09 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 7 Mar 2017 06:09:18 +0000 (07:09 +0100)
commitf5985bf9cadd4e3ed8d5d9a9cbbb2e39cdb81cd9
tree68162662337be8a1ef4807158fc0a460bc082734
parent2d856f94e6d253225cc68beaaf942dc0ea7772cb
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
drivers/gpu/drm/virtio/virtgpu_drv.h
drivers/gpu/drm/virtio/virtgpu_vq.c