[PATCH] allow 32bpp framebuffers for cirrus drm

Adam Jackson ajax at redhat.com
Mon Oct 27 08:00:40 PDT 2014


On Fri, 2014-10-24 at 18:31 -0700, Stéphane Marchesin wrote:

> Dave, Adam: are you ok with this patch?

Seems like it doesn't go far enough?  You'd already need an "aware"
guest to have this work, since the chip actually being emulated didn't
have 32bpp.  The pitch check would prevent 1024x768x32 and larger from
working, which makes it sort of a weak win on its own.

Could we read the BAR size from the device instead of hardcoding 4M?
That alone would make 1920x1200x16 work; and then, if that pitch limit
isn't encoded into the register space representation, the aware guest
would have resolutions worth using at least be possible.

- ajax



More information about the dri-devel mailing list