]> git.baikalelectronics.ru Git - kernel.git/commit
drm/virtio: simplify virtio_gpu_alloc_cmd
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 7 Feb 2020 07:46:35 +0000 (08:46 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 10 Feb 2020 11:54:32 +0000 (12:54 +0100)
commit114e85ae67228387de85a5bda10a85042c4bbec1
tree26e0eafb62ae6f908ad714199da699e276539940
parent67b0f28eb1e258c6f9d2c5ca68d8ba21f88ed5aa
drm/virtio: simplify virtio_gpu_alloc_cmd

Just call virtio_gpu_alloc_cmd_resp with some fixed args
instead of duplicating most of the function body.

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