[meta-freescale] [PATCH v2 04/19] imx-gpu-viv: Add i.MX 8 support

Gary Bisson gary.bisson at boundarydevices.com
Wed Jun 27 23:14:20 PDT 2018


Hi Ian,

Le jeu. 28 juin 2018 à 1:48 AM, Ian Coolidge <ian at boundarydevices.com> a
écrit :

> Just as a follow up...
>
> core-image-weston is unbuildable due to some libdrm issue it looks like:
>
> | ../git/libweston/compositor-drm.c: In function 'drm_fb_addfb':
> | ../git/libweston/compositor-drm.c:907:23: error:
> 'DRM_FORMAT_MOD_AMPHION_TILED' undeclared (first use in this function); did
> you mean 'DRM_FORMAT_MOD_VIVANTE_TILED'?
> |    if (fb->modifier == DRM_FORMAT_MOD_AMPHION_TILED) {
> |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> |                        DRM_FORMAT_MOD_VIVANTE_TILED
> | ../git/libweston/compositor-drm.c:907:23: note: each undeclared
> identifier is reported only once for each function it appears in
> | ../git/libweston/compositor-drm.c: In function 'drm_assign_planes':
> | ../git/libweston/compositor-drm.c:3383:37: error: 'DRM_FORMAT_P010'
> undeclared (first use in this function); did you mean 'DRM_FORMAT_R16'?
> |      || dmabuf->attributes.format == DRM_FORMAT_P010)
> |                                      ^~~~~~~~~~~~~~~
> |                                      DRM_FORMAT_R16
>
> Which I'm guessing can't be a coincidence.
>

That's because you need libdrm-imx from codeaurora that matches the weston
version.
https://source.codeaurora.org/external/imx/libdrm-imx/

Regards,
Gary

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20180628/e2b13e92/attachment.html>


More information about the meta-freescale mailing list