[PATCH v2] drm/bochs: new driver

David Herrmann dh.herrmann at gmail.com
Wed Dec 18 00:10:06 PST 2013


Hi

On Wed, Dec 18, 2013 at 8:37 AM, Gerd Hoffmann <kraxel at redhat.com> wrote:
> On Mi, 2013-12-18 at 11:52 +1000, Dave Airlie wrote:
>> On Wed, Dec 18, 2013 at 3:04 AM, Gerd Hoffmann <kraxel at redhat.com> wrote:
>> > DRM driver for (virtual) vga cards using the bochs dispi
>> > interface, such as the qemu standard vga (qemu -vga std).
>> >
>> > Don't bother supporting anything but 32bpp for now, even
>> > though the virtual hardware is able to do that.
>>
>> Hi Gerd,
>>
>> just took a quick look over this and it seems in pretty good shape,
>> the one worry I have is if you've tested with vesafb loaded, since you
>> do some pci_request_regions and fail hard, if vesafb has some of the
>> resources this can end up failing the driver load for no good reason.
>> I haven't verified there is a problem here its just something we've
>> had in the past.
>
> Tested, works.  bochs_pci_probe handles it before calling
> drm_get_pci_dev, simliar to cirrus.

It fails with CONFIG_X86_SYSFB=y and CONFIG_FB_SIMPLE=y. But imho that
should get fixed in sysfb, not the drivers loaded on top.

Thanks
David


More information about the dri-devel mailing list