Re: [PATCH] drm/bochs: switch fb_ops over to use drm_fb_helper_cfb helpers

From: Mark Cave-Ayland
Date: Mon Jul 03 2017 - 05:08:20 EST


On 03/07/17 09:55, Gerd Hoffmann wrote:

> Hi,
>
>> Hopefully Gerd has experience using bochs_drm with other non-x86
>> systems
>> and can comment further.
>
> Just pushed to drm-misc-next, fix is correct. bochs video memory is a
> pci bar, and the framebuffer is stored there.
>
> Using sys instead of cfb is probably a leftover from cirrus, where the
> framebuffer actually in a shadow copy in system ram, due to the low
> amout of (pci) video memory.

Great, thanks a lot! Whilst investigating this I noticed that there are
quite a few reports of having to blacklist bochs_drm (particularly on
Xen HVM) so it would be interesting to know if this fix improves things
there too.


ATB,

Mark.