[yocto] [meta-raspberrypi][PATCH v4 00/12] Support for VC4 graphics driver

Khem Raj raj.khem at gmail.com
Thu Jul 28 18:36:41 PDT 2016


> On Jul 22, 2016, at 9:41 AM, Carlos Alberto Lopez Perez <clopez at igalia.com> wrote:
> 
> On 21/07/16 14:32, Herve Jourdain wrote:
>> v4 series:
>> a. rebased
>> b. Upstream-Status added to the patch to the VC4 driver (needed only for kernel 4.4, accepted upstream in 4.7)
>> 
>> v3 series:
>> a. patch rebased
>> b. new revision of kernel, to get a version of the VC4 graphics driver that handles render nodes
>> c. patch to the VC4 driver to enable proper working of the render nodes (need to add authorization for IOCTLs)
>> 
>> v2 series:
>> a. Fix the 4.4.10 kernel revision
>> b. Effectively add vc4-kms-v3d overlay to the list of overlays to build (forgotten previously)
>> c. Make the parameter to the v4c-kms-v3d overlay configurable
>> d. Add default values for the cma parameter to the v4c-kms-v3d overlay, depending on the board (and the memory it has)
>> 
>> This patch series enables the support for the VC4 graphics driver from Eric Anholt.
>> There was a previous patch series by Javier Martinez Canillas, but it required use of a different kernel.
>> VC4 is now supported in the raspberrypi official kernel, at least for 4.4.9+.
>> The support in 4.1 exists, but it is NOT STABLE, so it has been deemed unreasonable to support VC4 with 4.1 kernels.
>> 
>> THEREFORE, VC4 graphics is supported ONLY for kernel versions 4.4.9 and later.
>> 
>> 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.
>> 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).
>> 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').
>> 'cma-256' is the recommended value, but it might not be possible on boards with 512MB or DRAM, or less...
>> 'cma-64' is known to not being able to support FHD/1080p.
>> 
>> It was tested with wayland/weston, without the support for X11.
>> 
> 
> 
> I have a follow-up patch adding support for X11 that I will send once
> this is merged.
> 

Can you send the patch to the list please.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160728/5a259b3c/attachment.pgp>


More information about the yocto mailing list