summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/virtio (follow)
Commit message (Collapse)AuthorAgeFilesLines
* virtio-gpu: add locking for vbuf poolDave Airlie2015-06-162-0/+8
| | | | | Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* drm/virtgpu: initialise fbdev after getting initial display infoDave Airlie2015-06-163-1/+6
| | | | | | | | | | | This should avoid issues with the fbdev path trying to render before we've gotten the display info. Signed-off-by: Dave Airlie <airlied@redhat.com> [ kraxel: wait for display-info reply ] Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* Add virtio-vga bits.Gerd Hoffmann2015-06-161-20/+24
|
* drm/virtio: remove some dead codeDan Carpenter2015-06-111-2/+0
| | | | | | | | The goto is correct, and we never reach the return statement so just delete the dead code. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
* drm/virtio: checking for NULL instead of IS_ERRDan Carpenter2015-06-111-2/+2
| | | | | | | | | virtio_gpu_alloc_object() returns an error pointer, it never returns NULL. Fixes: dc5698e80cf7 ('Add virtio gpu driver.') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
* Add virtio gpu driver.Dave Airlie2015-06-0315-0/+3375
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>