summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-graphics/wayland
AgeCommit message (Collapse)AuthorFilesLines
2020-05-04rcar-gen3: weston: Drop deprecated optionKhang Nguyen1-1/+0
The option "simple-dmabuf-drm" is unrecognised in Weston 8.0.0. This commit drops the option to avoid the following build error: | ERROR: weston-8.0.0-r0 do_configure: QA Issue: weston: configure was passed unrecognised options: simple-dmabuf-drm [unknown-configure-option] | ERROR: weston-8.0.0-r0 do_configure: Fatal QA errors found, failing task. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: If0f2ee6317c3e7206fb84976af8962611e89c037
2019-12-24rcar-gen3: libgbm: Update SRCREV to follow the latest versionKhang Nguyen1-1/+1
This commit modifies libgbm SRCREV for the following update: - Add support for the linear drm modifier. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Ied6ae5af8e1e36dc03fac552e8f904423b4bc086
2019-12-24rcar-gen3: weston: Remove weston-conf recipeDuy Dang5-36/+38
Since upstream removes weston-conf recipe and move its content to weston-init instead, this also does the same for Renesas specific configurations. This commit also disables intel config of simple-dmabuf-drm option when running meson config of Weston 7.0 to avoid build error. Signed-off-by: Duy Dang <duy.dang.yw@renesas.com> Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Ifba1b3f99cbf1e9cfff5557bf52a9424ad3e2bf7
2019-09-24rcar-gen3: Add COMPATIBLE_MACHINEKhang Nguyen1-0/+2
This adds COMPATIBLE_MACHINE to R-Car specific recipes to avoid error when run "bitbake world" for non-R-Car platforms. Signed-off-by: Duy Dang <duy.dang.yw@renesas.com> Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Ide29f6272d7c483eeda69a58f61710b2e8a42d6d
2019-09-24rcar-gen3: Append _rcar-gen3 to variables and tasksKhang Nguyen3-8/+8
For bbappend files, it should be appended the _rcar-gen3 to variables and function to avoid changing sstate signature when build with non R-Car platforms but including meta-rcar-gen3 to BBLAYERS. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Duy Dang <duy.dang.yw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: I179d8595422ea7eeb1568adc63d1e64e1fb057a6
2019-09-24rcar-gen3: libgbm: Add PROVIDES for virtual/libgbmThuy Tran1-0/+1
This commit adds virtual/libgbm to avoid dependency issue. Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com> Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: I0135f750e44c0c42174e1813fb318db426e35281
2019-09-24rcar-gen3: libgbm: Upgrade to 19.0.1Thuy Tran1-2/+2
This commit upgrades libgbm version to 19.0.1 for Weston 6.0 support. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: I5605d836ecb38aa442cefc8d77b01e639f5370ad
2019-09-24rcar-gen3: weston: Update to support weston 6.0Khang Nguyen13-245/+35
This commit uses the weston upstream version 6.0 with "GPU only" h/w acceleration. It also modifies weston-init to adapt upstream version. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: I7aabf0f3fcfec0dece05161529bd9eaf401dfbdb
2019-09-23rcar-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: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com> Change-Id: Iee8ccb134de4b955032427bd06c230c32c7084cf
2019-04-01rcar-gen3: Add support M3NULCB boardYusuke Goda1-1/+1
M3NULCB board specifications: R-Car M3-N Ver.1.1 DDR 2GiB eMMC 8GB(KLM8G1GESD-B04P) Change-Id: Ie857f76d7c96cd6e9a9196ce9bc27d98e878b161 Signed-off-by: Yusuke Goda <yusuke.goda.sx@renesas.com> Signed-off-by: Duy Dang <duy.dang.yw@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>