drm/virtio: params struct for virtio_gpu_cmd_create_resource()
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 18 Mar 2019 11:33:30 +0000 (12:33 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 28 Mar 2019 11:11:56 +0000 (12:11 +0100)
commitf9659329f222a687571a15f7233753ae2f88610f
treeb939c9e6b1f244b02c7ace6a31fb84d5d612d42d
parent4441235f9566e66467bcb9d9fe744d21c68213fc
drm/virtio: params struct for virtio_gpu_cmd_create_resource()

Add format, width and height fields to the virtio_gpu_object_params
struct.  With that in place we can use the parameter struct for
virtio_gpu_cmd_create_resource() calls too.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Noralf Trønnes <noralf@tronnes.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20190318113332.10900-4-kraxel@redhat.com
drivers/gpu/drm/virtio/virtgpu_drv.h
drivers/gpu/drm/virtio/virtgpu_gem.c
drivers/gpu/drm/virtio/virtgpu_ioctl.c
drivers/gpu/drm/virtio/virtgpu_vq.c