OSDN Git Service

drm/virtio: rework virtio_gpu_cmd_context_{attach, detach}_resource
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 29 Aug 2019 10:32:55 +0000 (12:32 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 4 Sep 2019 04:54:10 +0000 (06:54 +0200)
commit93c38d15ee59127f79cf1a740ae77ae6ecbe9d4a
tree0ce3d72b494fe17bda6e8df2d0259a909a750a72
parent3d3bdbc0bdbd9497751f9e305fba223d7a77dc9c
drm/virtio: rework virtio_gpu_cmd_context_{attach, detach}_resource

Switch to the virtio_gpu_array_* helper workflow.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20190829103301.3539-13-kraxel@redhat.com
drivers/gpu/drm/virtio/virtgpu_drv.h
drivers/gpu/drm/virtio/virtgpu_gem.c
drivers/gpu/drm/virtio/virtgpu_vq.c