summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/virtio_gpu.h
Commit message (Collapse)AuthorAgeFilesLines
* virtio-gpu api: comment feature flagsGerd Hoffmann2019-04-111-2/+10
| | | | | | | | | Add comments to the existing feature flags, documenting which commands belong to them. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org> Link: http://patchwork.freedesktop.org/patch/msgid/20190410114227.25846-2-kraxel@redhat.com
* virtio-gpu: add VIRTIO_GPU_F_EDID featureGerd Hoffmann2018-11-211-0/+18
| | | | | | | | | | | | | The feature allows the guest request an EDID blob (describing monitor capabilities) for a given scanout (aka virtual monitor connector). It brings a new command message, which has just a scanout field (beside the standard virtio-gpu header) and a response message which carries the EDID data. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Dave Airlie <airlied@redhat.com> Link: http://patchwork.freedesktop.org/patch/msgid/20181030063206.19528-2-kraxel@redhat.com
* drm/virtio: add define for second capset to the virgl code.Dave Airlie2018-05-141-0/+1
| | | | | | | | | | | Although the kernel doesn't use this, qemu imports these headers and it's best to keep them consistent. This define is also something userspace may want to use. Signed-off-by: Dave Airlie <airlied@redhat.com> Link: http://patchwork.freedesktop.org/patch/msgid/20180503021021.10694-1-airlied@gmail.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* include/uapi/linux/virtio_gpu.h: use __u8 from <linux/types.h>Mikko Rapeli2015-12-101-1/+1
| | | | | | | | | | Kernel headers exported to userspace are should these types. Fixes userspace compilation error: error: unknown type name ‘uint8_t’ Signed-off-by: Mikko Rapeli <mikko.rapeli@iki.fi>
* virtio-gpu: add 3d/virgl supportGerd Hoffmann2015-10-161-1/+111
| | | | | | | | Add the bits needed for opengl rendering support: query capabilities, new virtio commands, drm ioctls. Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* virtgpu: include linux/types.h to avoid warning.Dave Airlie2015-06-051-0/+2
| | | | Signed-off-by: Dave Airlie <airlied@redhat.com>
* Add virtio gpu driver.Dave Airlie2015-06-031-0/+204
This patch adds a kms driver for the virtio gpu. The xorg modesetting driver can handle the device just fine, the framebuffer for fbcon is there too. Qemu patches for the host side are under review currently. The pci version of the device comes in two variants: with and without vga compatibility. The former has a extra memory bar for the vga framebuffer, the later is a pure virtio device. The only concern for this driver is that in the virtio-vga case we have to kick out the firmware framebuffer. Initial revision has only 2d support, 3d (virgl) support requires some more work on the qemu side and will be added later. Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com>