summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-graphics/wayland
AgeCommit message (Collapse)AuthorFilesLines
2019-09-13[AGL] Add weston 6.0.0 for WM and HS rewritehalibut_8.0.3halibut_8.0.2halibut/8.0.3halibut/8.0.28.0.38.0.2Jan-Simon Möller1-0/+2
As requested for the WM and HS rewrite. Tested on m3, minnow, qemux86-64, rpi3. (cherry picked from commit 59104015c1fe64c7971b66d3c3f68e9b66524705) Multiple commits to be applied at once. Bug-AGL: SPEC-2444 Change-Id: I5746595e769e49a3e7f335c3ee67353b8a8f1689 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-05-23rcar-gen3: libgbm: Update SRCREV according to mesa upstreamThuy Tran1-1/+1
This commit modifies to include some updates for backend_kms: - Add support for the linear drm modifier. - Add missing close gem handle for imported bo. - Export dmabufs with DRM_RDWR flag. Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2019-05-23rcar-gen3: mmngrbuf: Add to support HW overlay modeThuy Tran2-58/+0
This commit adds a patch to confirm omxh264dec(mmngr) dmabuff passing in HW overlay mode. It also removes weston W/A patch to enable HW overlay mode. Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2019-02-28rcar-gen3: libgbm: Add PROVIDES for virtual/libgbmThuy Tran1-0/+1
From weston 4.0, Weston adds dependency on virtual/libgbm [1] Hence, this commit modifies libgbm recipe to provide virtual/libgbm for Renesas BSP. [1] Poky rev: c5435fa1c2ef03d8867e182968b544ca9f8e0cf3 Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2019-02-28rcar-gen3: libgbm: Upgrade to 17.3.6Thuy Tran1-2/+2
This commit upgrades libgbm version to 17.3.6 for matching mesa upstream version. Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2019-02-28rcar-gen3: weston: WORKAROUND to fix playing video issuesThuy Tran2-0/+59
This commit applies a W/A patch to disable HW overlay feature in weston 5.0, to avoid playing video issues. Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2019-02-28rcar-gen3: weston: Split out machine specific configurationThuy Tran4-36/+34
This commit adds more weston-conf bbappend to adapt YP2.6. Renesas MACHINEs also provided their configurations. (From Poky rev: 4001e1adb21b9785a19669968f07166f5b8772cd) Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2019-02-28rcar-gen3: weston: Update to support weston 5.0Thuy Tran9-210/+3
This commit uses the weston upstream version 5.0 with "GPU only" h/w acceleration. It also modifies weston-init to adapt upstream version. Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2019-02-28rcar-gen3: Change base_conditional to oe.utils.conditionalThuy Tran2-5/+5
This commit changes to use oe.utils.conditional because these base_* functions were removed in meta/lib/oe from YP2.5. (From Poky rev: 58449f0e9cc4a05c88204cf8ba887b55467d886e) Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-10-29rcar-gen3: weston: Update SRCREV to follow the latest versionKhang Nguyen1-1/+1
This commit updates SRCREV of weston for following items: [v4l2-renderer] - Use uint8_t* for variables to be operated by pointer. - Apply to "U" suffix constatnt of unsigned type. - Fix according to static code analysis tool. - Improve attaching shm buffer. - Use stride of shm buffer, not of KMS BO. - Remove bytesused from v4l2_renderer_plane. - Use length instead of byteused. - Set -1 when closing dmabuf. - Remove unused members in v4l2_surface_state. - Remove unused member bpp. - Free buffers queued into RPF which is disabled. - Allow set image width/height to 1 for input VSP in using RGB. - Skip rendering the surface which buffer isn't attached. - Expand damage region when using YUV444 and YVU444 color format. - Expand damage region when using multi sample pixels format. - Make opaque region the same as non-opaque. - Don't release dmabuf buffer immediately when client release buffer. [compositor-drm] - Use bool type for flag for using v4l2-renderer. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-06-18rcar-gen3: weston-init: Fix issue weston cannot start on E3Khang Nguyen1-1/+1
This commit adds "multi-user.target" condition into "weston.service" to fix the issue weston cannot start on E3, it does not affect to other boards. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-06-18rcar-gen3: weston: Set XDG_RUNTIME_DIR for SSH loginKhang Nguyen2-0/+11
This commit adds weston.sh script into /etc/profile.d to set XDG_RUNTIME_DIR automatically when using SSH login. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: weston: Update SRCREV to follow the latest versionKhang Nguyen1-1/+1
This commit updates SRCREV of weston for following item: [v4l2-renderer] - Translate all rects in clip region for calculation opaque region. 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: 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: 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 Nguyen1-19/+0
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>
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-08-25rcar-gen3: libegl: Create new recipe to fix build dependency issuesThao Nguyen1-0/+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-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: 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: 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 Honda25-0/+995
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>