<p dir="ltr"></p>
<p dir="ltr">On Jul 31, 2016 12:54 PM, "Andrei Gherzan" <<a href="mailto:andrei@gherzan.ro">andrei@gherzan.ro</a>> wrote:<br>
><br>
> On Thu, Jul 21, 2016 at 08:32:05PM +0800, Herve Jourdain wrote:<br>
> > v4 series:<br>
> > a. rebased<br>
> > b. Upstream-Status added to the patch to the VC4 driver (needed only for kernel 4.4, accepted upstream in 4.7)<br>
> ><br>
> > v3 series:<br>
> > a. patch rebased<br>
> > b. new revision of kernel, to get a version of the VC4 graphics driver that handles render nodes<br>
> > c. patch to the VC4 driver to enable proper working of the render nodes (need to add authorization for IOCTLs)<br>
> ><br>
> > v2 series:<br>
> > a. Fix the 4.4.10 kernel revision<br>
> > b. Effectively add vc4-kms-v3d overlay to the list of overlays to build (forgotten previously)<br>
> > c. Make the parameter to the v4c-kms-v3d overlay configurable<br>
> > d. Add default values for the cma parameter to the v4c-kms-v3d overlay, depending on the board (and the memory it has)<br>
> ><br>
> > This patch series enables the support for the VC4 graphics driver from Eric Anholt.<br>
> > There was a previous patch series by Javier Martinez Canillas, but it required use of a different kernel.<br>
> > VC4 is now supported in the raspberrypi official kernel, at least for 4.4.9+.<br>
> > The support in 4.1 exists, but it is NOT STABLE, so it has been deemed unreasonable to support VC4 with 4.1 kernels.<br>
> ><br>
> > THEREFORE, VC4 graphics is supported ONLY for kernel versions 4.4.9 and later.<br>
> ><br>
> > This patch series proposes to support VC4 by only adding 'vc4graphics' to MACHINE_FEATURES, for raspberrypi. If this is set, it will trigger all the necessary configuration/changes to use the VC4 driver, including mesa/wayland/weston currently, and adding the overlay required.<br>
> > In order for this series to work, some previous patches are needed (support for .dtbo, and fix of the mesa packaging when there is no DRI driver).<br>
> > The memory reserved for the VC4 driver has default values depending on the version of the board used, but it can be configured by setting VC4_CMA_SIZE to a value supported by the overlay ('cma-256', 'cma-192', 'cma-128', 'cma-96', 'cma-64').<br>
> > 'cma-256' is the recommended value, but it might not be possible on boards with 512MB or DRAM, or less...<br>
> > 'cma-64' is known to not being able to support FHD/1080p.<br>
> ><br>
> > It was tested with wayland/weston, without the support for X11.<br>
> ><br>
> > This patch series depends on two other patch series previously posted, that enable the support for .dtbo overlay files.<br>
> ><br>
> > Herve Jourdain (12):<br>
> >  Â rpi-default-providers.inc: change default providers to support<br>
> >  Â  Â vc4graphics<br>
> >  Â rpi-base.inc: add vc4-kms-v3d to the overlays to support vc4graphics<br>
> >  Â raspberrypi.conf: set the default value of VC4_CMA_SIZE to support<br>
> >  Â  Â vc4graphics<br>
> >  Â raspberrypi0.conf: set the default value of VC4_CMA_SIZE to support<br>
> >  Â  Â vc4graphics<br>
> >  Â raspberrypi2.conf: set the default value of VC4_CMA_SIZE to support<br>
> >  Â  Â vc4graphics<br>
> >  Â raspberrypi3.conf: set the default value of VC4_CMA_SIZE to support<br>
> >  Â  Â vc4graphics<br>
> >  Â <a href="http://rpi-config_git.bb">rpi-config_git.bb</a>: add v4c overlay to config.txt to support<br>
> >  Â  Â vc4graphics<br>
> >  Â wayland/weston_%.bbappend: modify configuration options to support<br>
> >  Â  Â vc4graphics<br>
> >  Â weston/weston_%.bbappend: modify configuration options to support<br>
> >  Â  Â vc4graphics<br>
> >  Â mesa_%.bbappend: new file to add the correct configuration options to<br>
> >  Â  Â support vc4graphics<br>
> >  Â linux-rpi.inc: add the configuration options required to support<br>
> >  Â  Â vc4graphics<br>
> >  Â linux-raspberrypi-4.4: add patch to enable proper operation of<br>
> >  Â  Â renderD128 device<br>
> ><br>
> >  conf/machine/include/rpi-base.inc  Â  Â  Â  Â  Â  Â  Â  Â  |  1 +<br>
> >  conf/machine/include/rpi-default-providers.inc  Â  Â |  8 +++---<br>
> >  conf/machine/raspberrypi.conf  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  |  2 ++<br>
> >  conf/machine/raspberrypi0.conf  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â |  2 ++<br>
> >  conf/machine/raspberrypi2.conf  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â |  2 ++<br>
> >  conf/machine/raspberrypi3.conf  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â |  2 ++<br>
> >  recipes-bsp/bootfiles/<a href="http://rpi-config_git.bb">rpi-config_git.bb</a>  Â  Â  Â  Â  Â  | 10 +++++++-<br>
> >  recipes-graphics/mesa/mesa_%.bbappend  Â  Â  Â  Â  Â  Â  |  4 +++<br>
> >  recipes-graphics/wayland/weston_%.bbappend  Â  Â  Â  Â |  6 ++---<br>
> >  recipes-graphics/weston/weston_%.bbappend  Â  Â  Â  Â  | 13 +++++-----<br>
> >  .../0002-vc4-ioctl-rendering-allow.patch  Â  Â  Â  Â  Â | 29 ++++++++++++++++++++++<br>
> >  recipes-kernel/linux/<a href="http://linux-raspberrypi_4.4.bb">linux-raspberrypi_4.4.bb</a>  Â  Â  |  1 +<br>
> >  recipes-kernel/linux/linux-rpi.inc  Â  Â  Â  Â  Â  Â  Â  Â | 10 ++++++++<br>
> >  13 files changed, 75 insertions(+), 15 deletions(-)<br>
> >  create mode 100644 recipes-graphics/mesa/mesa_%.bbappend<br>
> >  create mode 100644 recipes-kernel/linux/linux-raspberrypi-4.4/0002-vc4-ioctl-rendering-allow.patch<br>
> ><br>
> > --<br>
> > 2.7.4<br>
> ><br>
> > --<br>
> > _______________________________________________<br>
> > yocto mailing list<br>
> > <a href="mailto:yocto@yoctoproject.org">yocto@yoctoproject.org</a><br>
> > <a href="https://lists.yoctoproject.org/listinfo/yocto">https://lists.yoctoproject.org/listinfo/yocto</a><br>
><br>
> I would have wanted to merge this but they depend on dtbo support which<br>
> doesn't have the required bits in oe.core. So I can't merge this until<br>
> that lands in oe-core.</p>
<p dir="ltr">Let's wait for few days. I have staged it in my guthub tree. Until then<br>
><br>
> Regards,<br>
><br>
> --<br>
> Andrei Gherzan<br>
><br>
> --<br>
> _______________________________________________<br>
> yocto mailing list<br>
> <a href="mailto:yocto@yoctoproject.org">yocto@yoctoproject.org</a><br>
> <a href="https://lists.yoctoproject.org/listinfo/yocto">https://lists.yoctoproject.org/listinfo/yocto</a><br>
></p>