summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-graphics
AgeCommit message (Collapse)AuthorFilesLines
2017-09-15wayland-kms: fix missing wayland-scanner dependencyStephen Lawrence1-1/+1
wayland-kms do_configure task fails with the error: | checking for wayland-scanner... no | configure: error: Please install wayland-scanner. wayland-scanner is provided by wayland-native. wayland-kms has a DEPENDS on wayland, which in turn DEPENDS on wayland-native. However this does not populate the wayland-scanner binary in the wayland-kms recipe sysroot. Achieve that by directly adding wayland-native to the wayland-kms DEPENDS. Signed-off-by: Stephen Lawrence <stephen.lawrence@renesas.com>
2017-09-15wayland: use poky meta wayland/westonStephen Lawrence20-872/+31
Support for Weston 2.0 will appear in the Renesas Weston implementation in an upcoming Yocto BSP release. Until it appears use the upstream reference implementation in Poky Meta, with "GPU only" h/w acceleration. Signed-off-by: Stephen Lawrence <stephen.lawrence@renesas.com>
2017-09-13gles-user-module: fix occasional qtbase configure build issueStephen Lawrence2-1/+26
Building the meta-qt5 component qtbase occasionally failures in the do_configure() task with the error: make: *** [opengles2] Error 1 OpenGL ES 2.0 disabled. The OpenGL ES 2.0 functionality test failed! This is a build order problem caused by an incomplete build dependency chain. Linking opengles2 against libIMGegl.so (the virtual/libgles2 provider) has a dependency on libgbm.so and libwayland-kms.so so they must be built first. qtbase does not have many gfx components in its build depedency list and therefore may build earlier, which in turn results in the error. Simply adding libgbm and wayland-kms to the gles-user-module DEPENDS results in a circular build depedency. This is a workaround to the problem whilst the build depdency issue is resolved. For it to work add packagegroup-graphics-libegl to your IMAGE_INSTALL. This fixes the qtbase do_configure() build error reported in GDP-590 [1]. [1] https://at.projects.genivi.org/jira/browse/GDP-590 (cherry picked from commit 4ebc763eb413ef9a041cb83761d530f865764e74) Signed-off-by: Stephen Lawrence <stephen.lawrence@renesas.com>
2017-08-25rcar-gen3: packagegroup: Create new packagegroups for GFX packagesRenesas-Yocto-v2.23.0Thao Nguyen2-30/+40
This commit modifies recipes to define 3 packagegroups for graphic. There are 3 type packagegroups which are provided into IMAGE_INSTALL: - packagegroup-wayland-community: contains wayland/weston/alsa/libdrm components. - packagegroup-graphics-renesas-proprietary: contains Renesas GFX are kernel-module-gles and gles-user-module. - packagegroup-graphics-renesas-wayland: contains Renesas Wayland components: libgbm, libgbm-dev, wayland-kms. This patch also removes the definition for 32bit packages, because 32bit env has been stopped supporting. Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-08-25rcar-gen3: libegl: Create new recipe to fix build dependency issuesThao Nguyen2-2/+19
This commit adds libegl recipe which provides build dependencies on virtual/egl. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-08-25rcar-gen3: libgbm: Update SRCREV to follow the latest versionThao Nguyen1-1/+1
This commit modifies libgbm SRCREV to include some updates for backend_kms: - Remove unused variables. - Fix warnings according to static code analysis tool. Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-08-25rcar-gen3: wayland-kms: Update SRCREV to follow the latest versionThao Nguyen1-1/+1
This commit updates wayland-kms SRCREV for below changes: - Fix static code analysis tool warnings. - Change wl_kms structure instance name. - Uninitialize resources for kms authentication. - Fix -Wparenthese and unused variable compiling warnings. - Link libwayland-client before libwayland-server. - Measures of problem that EGL application program cannot be started on wayland-backend (Weston is multiple started). Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-08-25rcar-gen3: weston: Update recipe and SRCREV to follow the latest versionThao Nguyen2-2/+1
weston/v4l2-renderer doesn't have dependency with media-ctl. Hence, this commit removes media-ctl from weston RDEPENDS list and updates weston SRCREV for below fixes: [v4l2-renderer] - Handle failed to prepare composition. - Fix according to static code analysis tool. - Change media device information output format. - Check number of planes at importing dmabuf. [vsp2-renderer] - Fix according to static code analysis tool. [weston] - Output is destroyed by memory leak (HDMI cable is pulled out). Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-08-25rcar-gen3: mesa: Rename mesa bbappendRonan Le Martret1-0/+0
This commit renames mesa bbappend to be able to compatible with different mesa versions. Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> (cherry picked from commit 4849eff67419793fd79894fe0002278d09f91e07)
2017-08-25rcar-gen3: mesa: Remove installation of eglmesaext.hThao Nguyen1-3/+0
eglmesaext.h is installed because GFX needs it. GFX is updated and this header is not used anymore. Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-08-25rcar-gen3: gles-user-module: Remove patch to include header from mesaThao Nguyen2-26/+0
New GFX pkg does not need header from mesa, because it already has the necessary header (EGL/eglwaylandext.h) in the pkg itself. Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-04-19rcar-gen3: gles-user-module: Change name of graphics initscriptThao Nguyen2-4/+4
This patch changes the GFX initscript from rc.pvr to prvinit. Due to Linux culture, filename on /usr/bin should not have rc.* format. Change-Id: I0fd9c1862b5f58219190e7f14ee3baf0ea465f9f Signed-off-by: Thao Nguyen <thao.nguyen.yb@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-04-19rcar-gen3: weston: Update SRCREV for weston to follow latest versionThao Nguyen1-1/+1
This commit updates SRCREV of weston for following items: v4l2-renderer - Check color format at importing dmabuf. - Translate clipping region for subtraction from opaque region. - Fix calculation of clip region. vsp2-renderer - Fix destination rect for rendering. - Fallback to GL at zooming output. - Reset scaler usage counter correctly. Change-Id: I83d9c3905eeeec48e09dae24f50e29fef4b5cc43 Signed-off-by: Thao Nguyen <thao.nguyen.yb@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-03-27rcar-gen3: weston: Add support ivi-shell and ivi-extensionStephen Lawrence1-2/+15
This commit configures weston to use the Genivi Compositor components ivi-shell and ivi-extension rather than the default desktop-shell. Default status is disabled. To enable ivi-shell and ivi-extension, please uncomment the following line in local.conf: DISTRO_FEATURES_append = " ivi-shell" Change-Id: Ia6aa51175c83bf4b9f3e887cd114b3755c1e4e09 Signed-off-by: Stephen Lawrence <stephen.lawrence@renesas.com> Signed-off-by: Thao Nguyen <thao.nguyen.yb@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-03-27rcar-gen3: gles-user-module: Fix issue that results in rc.pvr not being ↵Stephen Lawrence2-2/+5
installed The poky systemd class has a do_install() postfunc rm_sysvinit_initddir() that deletes the /etc/init.d directory of a package if the systemd system unit directory contains some files. gles-user-module supports both systemd and sysV but uses /etc/init.d in both cases as the location of the required script rc.pvr. In the case when systemd only is enabled, the class deletes the init.d directory and the file. Until the script is converted to a service file workaround the issue by moving the install location of rc.pvr when systemd alone is used. (cherry picked with edits from commit 50b03a9d6cc674144f42a656b43d3e3f2805661c) Change-Id: I8b29d610d6465bc8a786ff330f896832824f0932 Signed-off-by: Stephen Lawrence <stephen.lawrence@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-03-27rcar-gen3: weston: Fix issue of v4l2-renderer for ULCBThao Nguyen1-0/+3
Because ULCB is not mounted VIN, they will use /dev/media0 for v4l2-renderer. Change-Id: Idbd40a5745c8f109455c57f77bb605c9f2964d78 Signed-off-by: Thao Nguyen <thao.nguyen.yb@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-03-27rcar-gen3: gles-user-module: Update firmware to support both WS 1.x and WS 2.0Thao Nguyen1-2/+2
This commit changes the package configuration from previous one in order to support both H3 WS1.x and WS2.0. Change-Id: I341155c6acc11658f570743e7135250960fb71c7 Signed-off-by: Thao Nguyen <thao.nguyen.yb@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-03-27rcar-gen3: weston: Update SRCREV for westonThao Nguyen1-1/+1
This patch updates SRCREV of weston for following fixes: - Backporting: compositor: set the opaque region for some views with transform. - v4l2-renderer: clear dmabuf fd when failed to attach buffer in backend. - vsp2-renderer: fallback to gl-renderer to draw image flipped. - vsp2-renderer: unify setting value for scaler enable flag to 0. Change-Id: I5ef7d8c94173ff524d819486c6865d9c49ccf443 Signed-off-by: Thao Nguyen <thao.nguyen.yb@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-01-27First commit.Renesas-Yocto-v2.16.0Takamitsu Honda41-0/+1521
Renesas BSP v3.5.1 (kernel v4.9 stable) [Environment] poky: yocto-2.1.2 (cca8dd15c8096626052f6d8d25ff1e9a606104a3) meta-openembedded: 55c8a76da5dc099a7bc3838495c672140cedb78e meta-linaro: 2f51d38048599d9878f149d6d15539fb97603f8f [Information] - U-boot: Changed load address from H'49000000 to H'50000000 - XDG_RUNTIME_DIR has been changed from "/run/user/root" to "/run/user/0" - Change location of include directory, which stores common user header files, to $(INCSHARED) - In BSP Only, core-image-weston is not supported even though local-wayland.conf is provided. - Please set Salvator-x SW7 Pin-1. In after Yocto BSP v2.12.0, it is  necessary to enable BKUP_TRG signal for Suspend to RAM. - The dtb filename was changed in R-Car H3. Only "Image-r8a7795-es1-salvator-x.dtb" is supported in this version. Please use "Image-r8a7795-es1-salvator-x.dtb" It supports R-Car H3 WS1.0 and WS1.1. - Please update your local.conf and bblayers.conf corresponding to Yocto v2.16.0 package. You can refer to meta-rcargen3/docs/sample/conf/ for updated contents. - You have to re-compile out-of-recipe software like user application by v2.16.0 SDK toolchains. - In some boards, the resuming from System Suspend to RAM may cause unstable operation or failed to resume. Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>