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

Mark Cave-Ayland mark.cave-ayland at ilande.co.uk
Mon Jul 3 09:07:54 UTC 2017


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.



More information about the dri-devel mailing list