[yocto] [meta-raspberrypi][PATCH 5/8] Support for vc4 graphics driver: upgrade 4.4 kernel to 4.4.10

Andrei Gherzan andrei at gherzan.ro
Fri May 20 03:39:35 PDT 2016


On Thu, May 19, 2016 at 09:02:04AM -0700, Khem Raj wrote:
> On Thu, May 19, 2016 at 8:11 AM, Andrei Gherzan <andrei at gherzan.ro> wrote:
> > On Wed, May 18, 2016 at 11:46:39PM +0200, Andreas Müller wrote:
> >> On Wed, May 18, 2016 at 7:32 PM, Herve Jourdain <herve.jourdain at neuf.fr> wrote:
> >> > One thing I didn't make configurable, but that maybe could be, is the parameter passed to the overlay.
> >> > I selected cma-256, based on experience from other people, and because my configuration is RPI2/3 with 1G of memory.
> >> > I realize it might not work well with RPI0/1, which have less memory available...
> >> > So even if I believe cma-256 is a good default value, it might be made selectable by the user, if we want to consider vc4 on RPI0/1.
> >> I played around with vc4 to but did not manage to get it work for an
> >> elder version 4.1 of kernel.
> >>
> >> I did in rpi-config:
> >>
> >> CMA_SIZE = "cma-256"
> >> CMA_SIZE_raspberrypi = "cma-64"
>
>
> >
> > I sent reply about this too. This is definitely one solution would I
> > would rather have a CMA_SIZE default value and a python function to
> > check its match with board variant. Cause in this way a user might be
> > able to use cma-96 on rapsberrypi.
> >
> >> CMA_SIZE_raspberrypi0 = "cma-128"
>
>
> setting CMA_SIZE should be moved into machine.conf file IMO
>

That's actually a good idea. I would say to have it in machine as a
default value for that specific machine. And then be able to overwrite
it as user needs. Optionally have a python function to check that what
user requested makes sense for the selected board.

--
Andrei Gherzan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160520/b258b04d/attachment.pgp>


More information about the yocto mailing list