summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-05-16[COMMUNITY] add machine feature biglittle for R-Car Gen3 boardsFrode Isaksen3-3/+3
These boards have both big and LITTLE CPU cores. Add machine feature biglittle to these boards. This feature maybe used to for example enable big.LITTLE aware schedulers. Change-Id: I522e0403f5387cc874862f1c19ff43e85e914e91 Signed-off-by: Frode Isaksen <fisaksen@baylibre.com>
2018-05-16[COMMUNITY] Add M3 audio quality patchesScott Murray3-0/+378
Add the patches from SPEC-1057 for M3 audio quality to linux-renesas. Bug-AGL: SPEC-1057 Change-Id: Ia1413521034519ca9b49c481a55e519864857ce6 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2018-05-16[COMMUNITY] Add LICENSE to u-boot recipesRonan Le Martret1-0/+3
Change-Id: I2c63ea54b69d5851fe4206fde6e967c74415f36c Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-05-16[COMMUNITY] Remove hard path from gles-user-moduleRonan Le Martret1-5/+15
* replace "/usr/local" with path "${RENESAS_DATADIR}" using: RENESAS_DATADIR = "/usr/local" - meta-rcar-gen3/include/rcar-gen3-path-common.inc * dlcsrv_REL should not be package in ${PN} but ${PN}-dev. dlcsrv_REL can't be install in production. Bug-AGL: SPEC-533 Change-Id: I865ea809c3c59ba136027fc8b99628df20c16275 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-05-16[COMMUNITY] use mesa preferred version 17.%Stephane Desneux3-6/+16
This avoids a conflict between the two following options: * poky/meta/recipes-graphics/mesa/mesa_17.0.2.bb * poky/meta/recipes-graphics/mesa/mesa_git.bb Change-Id: I566ba2f5c3152efe08e9e3e883c79439813ef7ea Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-05-16[COMMUNITY] Enable Linux-based hypervisor execution in AGLMichele Paolino2-0/+32
The upstream version of AGL boots Linux in EL1. This mode is not privileged enough to put in place the correct configuration of an hypervisor (e.g., KVM). This patch leverages the ATF rcar platform configuration variables to boot the Linux kernel in EL2, instead of EL1, allowing Linux-based hypervisors such as KVM to configure all the necessary stubs to properly run virtual machines. This patch has been successfully tested with ATF, KVM and AGL rootfs on the Renesas R-Car M3. Changelog: - Added arm-trusted-firmware patch, which makes this work easy to be tested by the community - This patch version does not contain Linux kernel modifications. In fact, these resulted not necessary with the proposed ATF patch and a recent kernel (higher than 4.6) Bug-AGL: SPEC-497 Change-Id: I5a22411135b33137cb2236562b3de9c966f1be21 Signed-off-by: Michele Paolino <m.paolino@virtualopensystems.com>
2018-05-16[COMMUNITY] add depends on mesa to gles-user-moduleRonan Le Martret1-0/+3
the populate_sysroot of gles-user-module must depends on the populate_sysroot of the virtual/mesa, because header from gles-user-module depends on the header from virtual/mesa. Change-Id: I8368bba6a19ca628a3496a3eebbc18a3c41c322d Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-05-16[COMMUNITY] glmark2 build fixVladimir Barinov1-0/+8
This solves the following warning related to package config dependency: glmark2-2014.03+AUTOINC+fa71af2dfa-r0 do_package_qa: QA Issue: glmark2 rdepends on libwayland-egl, but it isn't a build dependency, missing mesa in DEPENDS or PACKAGECONFIG? [build-deps] jsmoeller: Edit Signed-off-by (e -> é) to match character for gerrit. Change-Id: I2c448f3ddaef88c80bb5a3807bc8f96de269e5f4 Signed-off-by: Stéphane Desneux <stephane.desneux@iot.bzh> Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2018-05-16[COMMUNITY] Fix rc.pvr systemd serviceRonan Le Martret1-0/+2
* rc.pvr.service should depend on weston.service not the opposite Change-Id: Ib0516772da08a77504ae4fe98ea3c27aa9b6048a Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-05-16[AGL] add .gitreviewStephane Desneux1-0/+5
Change-Id: Ic561435cb07317bd6885b18a8c14b7f30a56f547 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-04-21rcar-gen3: conf: Add u-boot/IPL build option for H3Khang Nguyen9-0/+68
From Yv3.7.0, there are 03 options to build u-boot/IPL for H3: - For R-Car H3 SiP DDR 8GiB (2GiB x 4ch) [1] - For R-Car H3 SiP DDR 4GiB (2GiB x 2ch) [2] - For R-Car H3 SiP DDR 4GiB (1GiB x 4ch) [3] This commit adds a variable into sample configurations to control the build option: - For [1]: H3_OPTION = "1" (default) - For [2]: H3_OPTION = "2" - For [3]: H3_OPTION = "0" It also adds H3_OPTION = "0" for H3ULCB by default. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: conf: Remove networking and python bblayers for build errorKhang Nguyen24-48/+0
meta-openembedded/meta-networking and meta-openembedded/meta-python were removed to avoid build error for GENIVI environment. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: conf: Upgrade Linaro Gcc version to 7.2Khang Nguyen16-16/+16
This commit upgrades Linaro Gcc version to 7.2 for adapting to upstream. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: conf: Update configurations to adapt to YP v2.4.2Khang Nguyen32-64/+32
This commit updates configurations to adapt to YP v2.4.2. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: gstreamer: Update SRCREV to follow the latest versionKhang Nguyen1-1/+1
This commit modifies gstreamer recipe for following updates: [gst-omx] - Support enable-crop option. - Update default output allocation for VP9 decoder. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: kernel module: Fix the typosKhang Nguyen3-3/+3
This commit fixes the typos in recipes. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: user-module: Fix missing header files in sysroots-componentsKhang Nguyen3-0/+6
This commit modifies recipes to fix the issue missing header files in sysroots-components. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: cms-user-module: Upgrade library versionsKhang Nguyen1-6/+6
This commit upgrades library versions as below: libcmsbcm.so.1.6.0 upgrades to libcmsbcm.so.1.7.0 libcmsblc.so.1.6.0 upgrades to libcmsblc.so.1.7.0 libcmsdgc.so.1.6.0 upgrades to libcmsdgc.so.1.7.0 Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: gles-user-module: Fix patch not applying properlyKhang Nguyen1-4/+6
Some of the context lines in patches were ignored, it can lead to incorrectly applied patches. This commit modifies "change-shell.patch" to fix following warning: | Hunk #1 succeeded at 1 with fuzz 2. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: gles-user-module: Fix install warningKhang Nguyen1-1/+1
This commit fixes the warning as below: | update-rc.d: tmp/work/salvator_x-poky-linux/core-image-weston-sdk/1.0-r0/rootfs/etc/init.d/pvrinit: file does not exist Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: copyscript: Update MD5SUM for ADSP packagesKhang Nguyen1-2/+2
This commit updates MD5SUM for new ADSP packages. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: copyscript: Update MD5SUM for CMS packagesKhang Nguyen1-3/+3
This commit updates MD5SUM for new CMS packages. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: copyscript: Update MD5SUM for video packagesKhang Nguyen1-16/+16
This commit updates MD5SUM for new OMX video packages. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: EthernetAVB: Update SRCREV to follow the latest versionKhang Nguyen1-1/+1
This commit updates SRCREV of EthernetAVB components for following changes: - Fix setting both S bit and E bit of FU header. - Fix to restart to sending packets when not in time for the interval. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.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-04-21rcar-gen3: MMNGR: Update SRCREV to follow the latest versionKhang Nguyen1-1/+1
This commit updates SRCREV of Memory Manager driver for following items: - Update CMA memory mapping for R-Car E3. - Disable IPMMU TLB cache function in selected SoC revision. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: IPL: Update SRCREV to follow the latest versionKhang Nguyen3-4/+17
This commit updates IPL and Secure Monitor to Rev1.0.20 rev2 for following changes: [IPL] - [H/W Restriction No.100] Disable TLB function on IPMMU-PV1 cache on H3 Ver.2.0. - Update H3 Ver.3.0 QoS setting rev.0.06. - Fix the IPL cannot load images to 40-bit address space with eMMC when D-Cache enables. - Add processing to read MSTP status into BL2. - Delete unnecessary register setting. - Add the SWTCNT setting of E3. - Change the unit of transfer size to 256 bytes for RPC, and improved DMA transfer processing. - Add DDR Memory Config log. [Secure Monitor] - Add processing to read MSTP status into BL31. For optee_os, it updates reversion to Rev1.0.13 for following change: - Add processing to read MSTP status into MFIS. It deletes the option which enables Lossy area for E3. It also supports build option for H3: - For R-Car H3 SiP DDR 8GiB (2GiB x 4ch), specify "RCAR_DRAM_SPLIT=1" - For R-Car H3 SiP DDR 4GiB (2GiB X 2ch), specify "RCAR_DRAM_SPLIT=2 RCAR_DRAM_CHANNEL=5" - For R-Car H3 SiP DDR 4GiB (1GiB x 4ch), specify "RCAR_DRAM_SPLIT=1 RCAR_DRAM_LPDDR4_MEMCONF=0" Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: u-boot: Update SRCREV to follow the latest versionThuy Tran2-2/+17
This commit updates u-boot SRCREV to follow the latest version for following updates: - Fix XTAL clock for Salvator-XS board. - Use packed structures for networking. As a result, “dcache off” command works fine. It also adds u-boot build options to support each H3 device trees as below: - For R-Car H3 SiP DDR 8GiB (2GiB x 4ch), specify RCAR_DRAM_MAP4_2. - For R-Car H3 SiP DDR 4GiB (2GiB x 2ch), specify RCAR_DRAM_MAP2_2. - For R-Car H3 SiP DDR 4GiB (1GiB x 4ch), specify RCAR_DRAM_MAP4_1. In Yv3.7.0, we will support R-Car H3 SiP DDR 8GiB by default. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: linux-renesas: Apply the power control patches for H3 Ver.3.0Khang Nguyen14-0/+724
This commit applies the power control patches in R-Car H3 Ver.3.0. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: linux-renesas: Upgrade Linux BSP to v3.6.2Khang Nguyen3-5/+6
This commit upgrades Linux BSP to v3.6.2 for following updates: [Kernel] - "WARNING: possible circular locking dependency detected" occurs with repeating reboot. However, it was false positive, and it was confirmed that there was no problem. - Identify R-Car M3 Ver.1.2 or later. - Remove lossy descompress area from MMNGR node and reduce reserved area for R-Car E3 Ebisu board. [Power Management] - Improve power domains always on implementation. - Fix interrupts are not raised issue on R-Car E3. - Update CAS source. [Display driver] - Add overlay layer size check. - Fix possible crtcs for plane when using VSPDL. [IPMMU driver] - Add workaround for disabling uTLBs. [MSIOF driver] Add MSIOF module clock changing processing for R-Car Series, 3rd Generation. [PCIe driver] - Fix memory leak in of_pci_get_host_bridge_resources. [Thermal driver] - Use DIV_ROUND_CLOSEST correctly as its description. [USB3.0 Host driver] - Cannot Suspend to RAM when enabling USB3.0. - Confirm recognition of USB3.0 memory through HUB for setting /etc/udev/rules.d/99-usb.rules. [Video Capture driver] - Allocate a scratch buffer at stream start. Then use scratch buffer and always run in continuous mode. - Fix PHTW register flow below 250 mbps. - Fix clock control flow so that the warning message “MSTP status timeout” is not displayed and when UDS (scaling) is executed at VIN0, a black screen does not come out. - Fix streaming procedure when resuming. [Audio driver] - Playback or capture doesn’t resume after Suspend to RAM. [USB2.0 Function] - Kernel error occurs with rmmod of g_printer. - The dd command error occurs with g_mass_storage. [USB2.0 Host driver] - When connecting USB mouse, “Bad mode in Error handler” may occur with Suspend to RAM. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: README.linaro: Modify information for updatesKhang Nguyen1-3/+1
This commit modifies information for the following updates: - Remove meta-openembedded/meta-networking and meta-openembedded/meta-python. - Upgrade Linaro Gcc version to 7.2. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: README: Modify information for updatesKhang Nguyen1-3/+1
meta-openembedded/meta-networking and meta-openembedded/meta-python were no longer used, this commit removes their information in README. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-04-21rcar-gen3: machine: Update device tree names for H3Khang Nguyen1-0/+2
This commit updates device tree names for H3. There are 3 device trees as below: - renesas/r8a7795-salvator-xs.dtb: for R-Car H3 SiP DDR 4GiB (1GiB x 4ch) - renesas/r8a7795-salvator-xs-2x2g.dtb: for R-Car H3 SiP DDR 4GiB (2GiB x 2ch) - renesas/r8a7795-salvator-xs-4x2g.dtb: for R-Car H3 SiP DDR 8GiB (4GiB x 2ch) In Yv3.7.0, we will support R-Car H3 SiP DDR 8GiB by default. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-03-22Revert "rcar-gen3: dbus: WORKAROUND to fix memory leak issue"Khang Nguyen1-12/+0
We have a better solution for memory leak issue. This reverts commit 4f9d2b579a600b4fd32f2a92b83378d488a82bff. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-03-22Revert "rcar-gen3: gles-user-module: WORKAROUND to fix compile error because ↵Khang Nguyen2-52/+0
of lacking GLES3/gl3ext.h" Gstreamer source code have been updated. This reverts commit 4f50fe1d6f208f535d663325288e34fce4f0c358. 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: copyscript: Update tarball names for graphic packagesKhang Nguyen2-8/+8
This commit updates the tarball names in copyscripts for new graphic 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: copyscript: Update MD5SUM for ADSP packagesKhang Nguyen1-3/+3
This commit updates MD5SUM values for new ADSP 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: copyscript: Update MD5SUM for CMS packagesKhang Nguyen1-3/+3
This commit updates MD5SUM values for new CMS 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: copyscript: Update MD5SUM for video packagesKhang Nguyen1-16/+16
This commit updates MD5SUM for new OMX video 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: copyscript: Delete unused evaproprietary packagesKhang Nguyen1-323/+5
This commit removes unused evaproprietary packages and their functions to avoid confusion. 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: copyscript: Update year of copyright and fix typoKhang Nguyen1-2/+2
This commit updates year of copyright and fix comment typo. 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: conf: Remove vp9dec_lib in H3ULCB and M3ULCB configurationKhang Nguyen4-12/+0
This commit removes vp9dec_lib in H3ULCB and M3ULCB configuration. It helps to reduce the possibility that user got mistake on enabling VP9. 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: conf: Add sample configurations for E3Khang Nguyen14-0/+2487
This commit adds sample configurations for E3 board (Ebisu). 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: nativesdk-ncurses: Install to libdir, not base_libdirTan Nguyen1-0/+2
In nativesdk-ncurses, they only add -L<sysroot>/${libdir}, not -L<sysroot>/${base_libdir}. So move base_libdir to libdir will help others find ncurses lib Signed-off-by: Tan Nguyen <tan.nguyen.wh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
2018-03-22rcar-gen3: glmark2: Fix glmark2 build failureKhang Nguyen2-0/+51
glmark2 fails to build in YP v2.4 environment with the following error: | Checking for 'libpng12' : not found | Checking for 'libpng15' : not found | Checking for 'gbm' : not found This commit modifies recipe to fix this issue. It also applies a patch to avoid the following error: | ../src/gl-state-egl.cpp: In member function 'bool GLStateEGL::gotValidDisplay()': | ../src/gl-state-egl.cpp:420:41: error: 'EGL_PLATFORM_GBM_KHR' was not declared in this scope | #define GLMARK2_NATIVE_EGL_DISPLAY_ENUM EGL_PLATFORM_GBM_KHR | ^ | ../src/gl-state-egl.cpp:444:17: note: in expansion of macro 'GLMARK2_NATIVE_EGL_DISPLAY_ENUM' | GLMARK2_NATIVE_EGL_DISPLAY_ENUM, native_display_, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ../src/gl-state-egl.cpp:420:41: note: suggested alternative: 'EGL_PLATFORM_GBM_MESA' | #define GLMARK2_NATIVE_EGL_DISPLAY_ENUM EGL_PLATFORM_GBM_KHR | ^ | ../src/gl-state-egl.cpp:444:17: note: in expansion of macro 'GLMARK2_NATIVE_EGL_DISPLAY_ENUM' | GLMARK2_NATIVE_EGL_DISPLAY_ENUM, native_display_, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: systemd: Do not save file descriptors when restarting WestonKhang Nguyen1-0/+10
In systemd v234, systemd-logind may now be restarted without losing state, it stores the file descriptors (fd) for devices it manages in the system manager. [1] In graphic and multimedia configuration, above feature causes memory leak with the use case of restarting Weston: | root@salvator-x:~# cat /proc/meminfo | grep Cma | CmaTotal: 671744 kB | CmaFree: 629788 kB | root@salvator-x:~# | root@salvator-x:~# systemctl restart weston | root@salvator-x:~# | root@salvator-x:~# cat /proc/meminfo | grep Cma | CmaTotal: 671744 kB | CmaFree: 599404 kB Because the system continues allocating memory for the new session during the previous device fds still open. This commit avoids saving device fds into the system manager by setting "FileDescriptorStoreMax=0" [2] in "systemd-logind.service". [1] https://lists.freedesktop.org/archives/systemd-devel/2017-July/039308.html [2] https://www.freedesktop.org/software/systemd/man/systemd.service.html#FileDescriptorStoreMax= 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: dtv-dvd-control: Add function to prevent build DTV with E3Khang Nguyen1-0/+11
This commit adds a python function to prevent build DTV feature with E3 due to E3 does not support SSP. The following error will occur when trying enable DTV for E3: | E3 (SoC: r8a77990) does not support SSP, please disable DTV feature in your local configuration 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: omx-control: Update to build vp9dec_lib with E3Khang Nguyen1-3/+3
This commit updates the condition to build vp9dec_lib with E3 (SoC r8a77990). 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: gstreamer: Update SRCREV to follow the latest version and add ↵Khang Nguyen5-3/+6
support E3 This commit updates SRCREV for the following contents: [gst-omx] - Limit b-frames on no-copy mode. - Support send-eos option. - Support b-frames and ref-frames options. [gst-plugins-good] - Correct handling for userptr mode. - Support num-alloc-buffer option. - Change method to decide number of buffers for v4l2src. [gst-plugins-bad] - Update copyright. - Add a new property that suppress setting interlace flag. - Check for GLES3/gl3ext.h existence. It also adds gstvspfilter.conf to support E3 board. 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: avb-demoapps: Fix comment typoKhang Nguyen1-1/+1
This commit fixes a comment typo. Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>