[PATCH] drm/vc4: Use 16bpp by default for the fbdev buffer

Eric Anholt eric at anholt.net
Wed Mar 6 09:32:01 PST 2019


Maxime Ripard <maxime.ripard at bootlin.com> writes:

> The preferred bpp for the fbdev emulation buffer has been 32 so far, which
> means that by default we will allocate an 8MB buffer with a 1920x1080
> resolution.
>
> Worse this memory will be allocated from the CMA pool, and will never be
> freed even if we don't use the fbdev emulation. Therefore, reducing it is a
> big deal, and switching to 16bpp by default will gain us around 4MB at
> 1920x1080, while keeping decent color depth. And users still have the
> option to switch to 32bpp using the kernel command line.

Reviewed-by: Eric Anholt <eric at anholt.net>

This matches the defaults used by the bcm2708 fbdev driver that we're
trying to get people to switch off of.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20190306/453bfbd8/attachment.sig>


More information about the linux-arm-kernel mailing list