[PATCH] drm/kms: driver for virtual cirrus under qemu

Adam Jackson ajax at redhat.com
Wed May 2 10:36:39 PDT 2012


On 5/2/12 6:27 AM, Dave Airlie wrote:
> From: Dave Airlie <airlied at redhat.com>
>
> This is the initial driver for emulated cirrus GPU found in qemu.
> This driver only supports the emulated GPU and doesn't attempt
> to bind to any real cirrus GPUs.

In particular,

> +/* only bind to the cirrus chip in qemu */
> +static DEFINE_PCI_DEVICE_TABLE(pciidlist) = {
> +	{ PCI_VENDOR_ID_CIRRUS, PCI_DEVICE_ID_CIRRUS_5446, 0x1af4, 0x1100, 0,
> +	  0, 0 },
> +	{0,}
> +};

This requires a (somewhat) new qemu:

http://git.savannah.gnu.org/cgit/qemu.git/commit/hw/pci.c?id=d350d97d196a632b6c7493acf07a061017fc6f7d

Reviewed-by: Adam Jackson <ajax at redhat.com>

- ajax


More information about the dri-devel mailing list