aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-graphics
AgeCommit message (Collapse)AuthorFilesLines
2018-03-22rcar-gen3: gles-user-module: Update tarball names for graphic packagesKhang Nguyen1-3/+3
This commit updates the tarball names due to new graphic packages have updated them. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-03-22rcar-gen3: GFX: Update to support E3 boardKhang Nguyen1-1/+2
This commit modifies graphic recipes to support E3 GFX version. It also updates copyscript to support copying E3 GFX packages. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-03-22rcar-gen3: libinput: Remove no longer used patchKhang Nguyen1-72/+0
This commit removes no longer used patch. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-03-22rcar-gen3: libgbm: Update for supporting E3 boardKhang Nguyen1-1/+1
This commit updates recipe to add ebisu into COMPATIBLE_MACHINE. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-03-22rcar-gen3: wayland-kms: Update for supporting E3 boardKhang Nguyen1-1/+1
This commit updates recipe to add ebisu into COMPATIBLE_MACHINE. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-03-22rcar-gen3: weston: Update SRCREV to follow the latest versionKhang Nguyen1-1/+1
This commit updates SRCREV of weston for following items: v4l2-renderer - Update Renesas Electronics copyright. - Use premultiplied alpha for ARGB color format. - Apply only translation to surface opaque region. - Compose whole of output when V4L2_SEL_TGT_COMPOSE unsupported for WPF. - Compose damaged region only. - Use bool type for flags instead of int type. - Enclose v4l2-renderer-device.h in an inclusion guard. - Apply surface transformation to opaque region. - Prevent misalignment of the rendering image due to calculation error. vsp2-renderer - Fix a typo in a comment. - Fallback to GL when global alpha is enabled with opaque region. - Remove unnecessary condition in rendering image. - Always turn off media streaming. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: xserver-xorgs: Remove glamor in PACKAGECONFIGThao Nguyen1-0/+3
Glamor was enabled by default by below commit: Title : xserver-xorg: Enable glamor by default Auther: Saul Wold <sgw@linux.intel.com> Commit: 837fd055117f2e4c5c40162abe2e04eaabfeacde However, with current env, this feature will get following error: | checking for linux/apm_bios.h... yes | checking for xf86dgaproto >= 2.0.99.1... yes | checking for xf86dgaproto >= 2.0.99.1... yes | checking for xf86dgaproto >= 2.0.99.1 xf86vidmodeproto >= 2.2.99.1... yes | checking for epoxy... yes | checking for "gbm >= 10.2.0"... no | configure: error: Glamor for Xorg requires gbm >= 10.2 Glamor is not necessary with current env, so disable it. Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: gles-user-module: WORKAROUND to fix compile error because of ↵Thao Nguyen2-0/+52
lacking GLES3/gl3ext.h Gstreamer1.0-plugins-bad requires GLES3/gl3ext.h, which should be provided by gles-user-module. However, current GFX libraries do not have GLES3/gl3ext.h. Hence, temporarily add GLES3/gl3ext.h from mesa to gles-user-module to overcome this issue. Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: core-image-renesas-base: Add coreutils packageKhang Nguyen1-0/+1
This commit adds coreutils package into rootfs. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: core-image-renesas-base: Add libx11-locale to rootfsThao Nguyen1-0/+1
Libx11-locale will provide more language pkgs to the current system. Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: openavnu: Rename to follow upstream project nameMasaru Nagai1-3/+3
This commit changes open-avb to openavnu name. Signed-off-by: Masaru Nagai <masaru.nagai.vx@renesas.com> Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: GFX: Update GFX new package namesThuy Tran1-2/+2
This commit modifies recipes and copyscript to update GFX new package names of this release. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: libgbm: Add udev to DEPENDS packageThao Nguyen1-1/+1
Libgbm requires libudev to be configured. This commit adds udev to DEPENDS to provide libudev for libgbm to avoid below error. | checking whether -lc should be explicitly linked in... no | checking dynamic linker characteristics... GNU/Linux ld.so | checking how to hardcode library paths into programs... immediate | checking whether stripping libraries is possible... yes | checking if libtool supports shared libraries... yes | checking whether to build shared libraries... yes | checking whether to build static libraries... no | checking for library containing dlopen... -ldl | checking for aarch64-poky-linux-pkg-config... no | checking for pkg-config... /ssd/FS_YP2.4/H3ULCB-GFX-build/tmp/work/aarch64-poky-linux/libgbm/1.0-r0/recipe-sysroot-native/usr/bin/pkg-config | configure: WARNING: using cross tools not prefixed with host triplet | checking pkg-config is at least version 0.9.0... yes | checking for libudev... no | configure: error: Package requirements (libudev) were not met: | | No package 'libudev' found Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: libdrm: Change to use v2.4.85Thao Nguyen4-17/+89
mesa v17.1.1 only supports libdrm from 2.4.75 and later, so we set PREFERRED_VERSION_libdrm in board config to use libdrm v2.4.85 from poky to prevent configure error. | checking for libdrm >= 2.4.75... no | checking for glproto >= 1.4.14... yes | configure: error: Direct rendering requires libdrm >= 2.4.75 | NOTE: The following config.log files may provide further information. | NOTE: /build/tmp/work/aarch64-poky-linux/mesa/2_17.1.1-r0/build/config.log | ERROR: configure failed Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: wayland-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> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: weston: Remove weston-bin implementationThao Nguyen2-20/+1
Weston-examples from community already contains all necessary pkgs, so this commit removes weston-bin implementation and adds weston-examples to rootfs. Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: weston: Update to support weston 2.0Thao Nguyen12-599/+5
This patch updates Renesas weston version from v1.11.0 to v2.0.0. It also removes the fixes for some old issues which do not exist in YP 2.4. Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-01-30rcar-gen3: IPL: Update IPL version according to BSP v3.6.0Thuy Tran1-2/+0
This commit changes following contents: - Update IPL and Secure Monitor Rev1.0.18 rev2 - Update optee_os Rev1.0.11 rev2 Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-11-24rcar-gen3: wayland-kms: Update for supporting M3N boardThuy Tran1-1/+1
This commit updates recipe to add M3N into COMPATIBLE_MACHINE. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-11-24rcar-gen3: libgbm: Update for supporting M3N boardThuy Tran1-1/+1
This commit updates recipe to add M3N into COMPATIBLE_MACHINE. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2017-11-24rcar-gen3: GFX: Update to support M3N boardThuy Tran1-1/+3
This commit modifies graphic recipes to support M3N GFX version. It also updates copyscript to support copying M3N GFX packages. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@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>