This is a useful tool to test KMS and GBM-based EGL & OpenGL ES drawing
Change-Id: I23d276759c5bc1bec017956070da4ced6352d9eb Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mesa: Add patches for RGBA support, YUV, and for resource_changed
Patches 1-14 add support for RGBA-swapped formats and were ported from
https://github.com/austriancoder/mesa/commits/shader-variants
Patch 15 is an experimental patch to enable MESA_ycbcr support. Might not
be needed later on.
Patches 16-19 are needed to make sure new video frames are streamed into
the GPU when using DMABUF FDs.
WIP-st-dri-Allow-YUYV-import is an experimental patch to make use of the
Vivante GPU's hardwired YUV->RGB converter. A clean implementation of this
feature might require MESA_ycbcr or a derivative of that, but for now, this
patch works.
etnaviv-increment-the-resource-seqno-in-resource_changed.patch is a patch
for non-external textures recommended by Philipp Zabel. Does not affect
external EGLimage textures.
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This backports many changes, the included commits are:
4a2e3a368083 coda: enable with COMPILE_TEST e8dd8f5bb0d6 coda: restore original firmware locations d17404963398 coda: disable reordering for baseline profile h.264 streams 0425550b2cc4 coda: pad first h.264 buffer to 512 bytes 30a25c7a1c11 coda: keep queued buffers on a temporary list during start_streaming 6aedf08faa46 coda: Use && instead of & for non-bitfield conditions 8c303b8eb07f coda: disable BWB for all codecs on CODA 960 7c0c3cacae5a coda: implement encoder stop command c2f021d1762f [media] coda/imx-vdoa: constify structs 571d9a3398f4 [media] coda: add Freescale firmware compatibility location 2ab09ed38709 Revert "[media] coda/imx-vdoa: constify structs" f3f7ca7ea33e [media] coda: support YUYV output if VDOA is used de26a60384a7 [media] coda: use VDOA for un-tiling custom macroblock format 9c020c7889cc [media] coda: fix frame index to returned error 9b69cb0e9b5f [media] coda: add debug output about tiling c2943da78e15 [media] coda: correctly set capture compose rectangle fa1cbc7881eb [media] coda/imx-vdoa: constify structs feb6ccfa4db7 [media] coda: add i.MX6 VDOA driver eae25c1e912a [media] coda: fix the error path in coda_probe() 40e83b4ae508 [media] coda: add missing header dependencies 62c95d073f57 ARM: dts: imx6qdl-nitrogen6x: add missing USB PHY reset control 719b9f294d76 ARM: dts: imx6qdl-sabrelite: add missing USB PHY reset control 4ffcf8c7c60c drm/panel: simple: Add support for Tianma TM070JDHG30 7790c716544c of: Add vendor prefix for Tianma Micro-electronics 2c9fabdd9ba8 ARM: dts: imx6qdl-nitrogen6_som2: fix sgtl5000 pinctrl init 537158e11b5b ARM: dts: imx6qdl-nitrogen6x: remove duplicate iomux entry ca9533a30121 ARM: dts: boundary: remove hardcoded LVDS bus format 6fa5cb82aa9e pinctrl: imx: use radix trees for groups and functions 39c6395a5116 pinctrl: imx: remove const qualifier of imx_pinctrl_soc_info f0906c3e92ed ARM: dts: imx6qdl-nitrogen6_max: use hyphens for nodes name e88dc9d21208 ARM: dts: imx6qdl-nit6xlite: use hyphens for nodes name 0056c5e39d01 ARM: dts: imx6qdl-nitrogen6x: use hyphens for nodes name 470019dea0da ARM: dts: imx6qdl-sabrelite: use hyphens for nodes name 404a65b0f5ff ARM: dts: imx: add Boundary Devices Nitrogen6_SOM2 support 8ed001e651a4 drm/etnaviv: always flush MMU TLBs on map/unmap eda85482ab61 drm/etnaviv: constify etnaviv_iommu_ops structures c4a322ce176e drm/etnaviv: set up initial PULSE_EATER register e7147fcbe4b0 drm/etnaviv: add new GC3000 sensitive states 224462a9ba20 drm/etnaviv: Remove etnaviv_debugfs_cleanup() 3b6d4ad2e259 drm/etnaviv: Use drm_dev_unref, not drm_put_dev c095eb593edd drm/etnaviv: trick drm_mm into giving out a low IOVA 7d872907c0f0 drm/etnaviv: move linear window on MC1.0 parts if necessary 619586d45f05 drm/etnaviv: don't invoke OOM killer from dump code 201064234ea0 drm/etnaviv: fix gem_prime_get_sg_table to return new SG table 089369cb1167 drm/etnaviv: Allow DRAW_INSTANCED commands df310c458873 drm/etnaviv: implement dma-buf mmap 11325b1e8736 drm/etnaviv: Remove manual call to reservation_object_test_signaled_rcu before wait
Change-Id: I25fbf56e982ea71d7ab87650c6f5d91fd0505bd9 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Tue, 14 Mar 2017 20:01:45 +0000 (17:01 -0300)]
qtbase: Add 'use-mainline-bsp' support
This configures the Qt to use the OpenGL ES2 and KMS backend for the
'use-mainline-bsp' case. It also includes a fix for the font rendering
issue found when using Etnaviv which were used for Android-based
platforms but now being enabled for all EGL based systems.
Change-Id: Icdfd2a01836a90bcedbe1665ab3a0733ed505eff Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Thu, 23 Mar 2017 14:57:59 +0000 (11:57 -0300)]
imx-base.inc: Add 'use-mainline-bsp' override support
The 'use-mainline-bsp' makes use of
MAACHINEOVERRIDES_EXTENDER_FILTER_OUT variable and currently filters
out the i.MX 6 and i.MX 7 overrides, ensuring we use the pristine
support for all metadata.
This commit does most changes related to initial mainline support for
Etnaviv and Video4Linux VPU support using CODA.
Change-Id: Idcb3e4f9c3bc46d4c066dea3c0388f821ab2d3ec Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Thu, 23 Mar 2017 14:54:46 +0000 (11:54 -0300)]
machine-overrides-extender.bbclass: Add filter out support
The allow easier enablement of mainline BSP support, we need to allow
for specific overrides to be filtered out, before and during the
extending process.
The new MACHINEOVERRIDES_EXTENDER_FILTER_OUT variable does exactly
this and will be used in a subsequent commit to enable the
'use-mainline-bsp' override.
Change-Id: Ieaec9d5eb27ccc73b7b0097cb365c519978bd080 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Bob Cochran [Wed, 15 Mar 2017 20:15:32 +0000 (16:15 -0400)]
udev: remove eudev_%.bbappend and associated patch since it's no longer required
Commit d2313434 already exists in eudev to prevent udev from managing
an MMC Replay-protected memory block (RPMB)
Testing of an LS1021A-TWR & eMMC 4.51 with master branches of poky and
meta-freescale minus the patch to 60-persistent-storage.rules
confirmed that udev ignores mmcblk0rpmb on boot.
Change-Id: Ib91aed741d18a87081e82e7c71e36363bb8b3939 Signed-off-by: Bob Cochran <yocto@mindchasers.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Tom Hochstein [Tue, 7 Mar 2017 01:19:42 +0000 (19:19 -0600)]
imx-gpu-viv: Fix build break for missing gl headers
For x11 graphics and Wayland graphics with XWayland support, a build
break is possible due to missing headers. This is because imx-gpu-viv
does not provide everything it needs to for virtual/libgl and depends
on mesa to fill in what is missing. Adding a dependency on mesa
fixes the build break.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
The build starts since commit meta-fsl-arm da0581341a58dfe393a829b3c402330c73589963
with the make file in ${S} which is actually named Makefile, thus there is no
need to override base.do_compile or pass the directory and name of the
make file in EXTRA_OEMAKE.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
xorg-driver: remove the local copies of xorg-driver-*.inc
recipes-graphics/xorg-driver/xorg-driver-common.inc is identical to the copy
in openembedded-core.
xorg-driver-video.inc lacks the automatic addition of xorg-driver-abi-<ABI>
to RDEPENDS. (and constructs DEPENDS differently but with the same effect)
xf86-video-fbdev must now provide the full relative path for its include file.
fixes:
WARNING: xf86-video-imxfb-vivante-3_5.0.11.p8.6-r0 do_package_qa: QA Issue:
Package xf86-video-imxfb-vivante contains Xorg driver (vivante_drv.so)
but no xorg-abi- dependencies [xorg-driver-abi]
and likely but not tested fixes the same warning for xf86-video-fbdev used
for PPC devices.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Thu, 9 Mar 2017 14:34:11 +0000 (11:34 -0300)]
change-file-endianess: Rework recipe completely
The recipe was mixing different concepts. It is intended to provide a
TCL script to change the endianess of files and the recipe was
conceptually wrong.
The use of the deploy class is wrong as it is not an artifact that is
going to be used to install a board but a tool required for
development (so the need of native and nativesdk variants).
Change-Id: I5ebb063fa1c57a8c7c307314ac6322abfa88d33c Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Bob Cochran [Sun, 5 Feb 2017 03:36:00 +0000 (22:36 -0500)]
change-file-endianess: update do_deploy_class-native so it finds byte_swap.tcl
Modify do_deply_class-native task to copy byte_swap.tcl from top of working directory ${S} rather than ${STAGING_BINDIR_NATIVE} since file isn’t found at current location and this causes a “No such file or directory” error.
Signed-off-by: Bob Cochran <yocto@mindchasers.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Wed, 1 Feb 2017 13:02:06 +0000 (11:02 -0200)]
Revert "qoriq-base, imx-base: Allow DISTRO and local.conf override of IMAGE_FSTYPES"
The IMAGE_FSTYPES is set in bitbake.conf as ?= so we cannot use the
weak assingment here. This brings back the image generation using the
standard set for the BSP but we will need to investigate a solution
for the distro overriding issue.
Change-Id: I57cda5eb894330ad857b0bca44a8a987dc06afb2 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Tue, 24 Jan 2017 12:46:50 +0000 (10:46 -0200)]
imx6ulevk: Add mx6 in the MACHINEOVERRIDES set
The i.MX 6UL was dealt in a specific way due the metadata not being
fully ported still to the feature overrides set; now that most
metadata has been converted it is the right time to add the mx6 SoC
family here as well.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Tue, 24 Jan 2017 12:42:30 +0000 (10:42 -0200)]
imx-base.inc: SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS can be always appended
There is no need to restrict the appending of
SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS values as the respective packages will
be added only on the supported packages thus not affecting other
machines.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Tue, 24 Jan 2017 12:39:27 +0000 (10:39 -0200)]
imx-base.inc: Convert to use i.MX MACHINEOVERRIDES_EXTENDER
There were some core BSP variables which were still using SoC family
names instead of feature overrides (XSERVER_DRIVER,
MACHINE_SOCARCH_FILTER) and those needed to be reworked so other SoC
families could be dealt in the generic way (e.g: mx6ul).
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Tue, 24 Jan 2017 12:45:10 +0000 (10:45 -0200)]
mesa: Rework recipe to use the feature overrides
The recipe was still using the mx6 specific overrides, which is
wrong. We should use the feature overrides so more SoCs can be dealt
in the generic way.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Gary Thomas [Wed, 25 Jan 2017 11:47:10 +0000 (12:47 +0100)]
xserver-common: Move to dynamic layers
The xserver-common recipe can only be built if the openbedded (meta-oe)
layer is present, so move it to the dynamic layers to prevent breakage
if that layer is not in the build.
Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Change-Id: I6ac7293a212351cfcb0ea550d426036da30aef14 Signed-off-by: Oliver Graute <oliver.graute@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Oliver Graute [Mon, 23 Jan 2017 17:41:40 +0000 (18:41 +0100)]
linux-fslc: Longterm Branch 4.4.x
This is the Longterm supported Linux kernel branch 4.4.x
this bump linux-fslc 4.4.x to 4.4.43
Change-Id: I2035e88f0f69789d4f982e7a38fe51129db13bd5 Signed-off-by: Oliver Graute <oliver.graute@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Tom Hochstein [Mon, 16 Jan 2017 19:52:26 +0000 (13:52 -0600)]
weston: Touch events cause startup failure
Pressing the touch panel continously during boot up caused
weston to crash. The weston view was being accessed before it
was fully initialized, so now we guard against this.
Upstream-Status: Denied [Could not reproduce]
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Tom Hochstein [Mon, 16 Jan 2017 19:52:24 +0000 (13:52 -0600)]
weston: xwayland: Fix crash when run with no input device
Starting an xterm with no input device led to a crash
because weston_wm_pick_seat() was returning garbage and
weston_wm_selection_init() was trying to use the garbage.
Tom Hochstein [Mon, 16 Jan 2017 19:52:22 +0000 (13:52 -0600)]
weston: T3DStressTest_Wayland displays abnormally while using G2D compositor
It need add g2d_finish after repaint_region and before copy to framebuffer.
Because if using dual dpu cores, the tasks on each core will be executed
sequently, but it can't ensure one task splited on dual cores can be finished
synchronously by hardware.
Upstream-Status: Inappropriate [i.MX specific]
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Alexandra Safta [Mon, 16 Jan 2017 16:29:00 +0000 (08:29 -0800)]
Update machine description fields
Change description fields from Freescale to NXP in machine files to align to
2016 corporate transfer to NXP.
Signed-off-by: Alexandra Safta <alexandra-ioana.safta@nxp.com> Signed-off-by: Lauren Post <lauren.post@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Mon, 16 Jan 2017 18:22:11 +0000 (16:22 -0200)]
qoriq-base, imx-base: Allow DISTRO and local.conf override of IMAGE_FSTYPES
To allow the DISTRO and local.conf to override the IMAGE_FSTYPES value
we must provide a weak default (using the ??= operator) otherwise
machines need to play with the import order to override it.
Change-Id: I93407b8b6a93e5953bc4bae08f4ae4dafc5c6158 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Zhenhua Luo [Tue, 20 Dec 2016 12:18:58 +0000 (20:18 +0800)]
rcw: upgrade to SDK 2.0 GA-1611 release
* disable the endianness switch for qspi u-boot of SEC boot
* included the following commits.
* 3252b8c Merge pull request #20 in SDK/rcw from ~B21989/sdk-rcw:jira/QSDK-3097 to master
* cd271ee Merge pull request #19 in SDK/rcw from ~B52263/rcw:jira/QSDK-3096 to master
* 6a558a2 ls1021a: Fix QSPI endian issue for QSPI boot on LS1021A boards
* fbfddb3 ls1043a: Fix QSPI endian issue for QSPI boot on LS1043AQDS
* 2485a22 ls1046a: fix PBI of changing QSPI endianness
* 7304127 ls1043ardb: adds a RCW with GIC 4K supported
* d413878 ls1043a: Add PBI of changing GIC offset to 4K
* e914a5f Add a tclsh script to swap the rcw endian.
* 8411b78 ls1046aqds: Add RCW for ls1046aqds board
* 6d486d4 ls1046ardb: Add RCW for ls1046ardb board
* 14de148 arm: ls1021a: add the core frequency to 1.2GHZ support
* 98b6bc3 t2080rdb: update SRDS2PLL2CR1 to 0x08004100 for errata A-007186
Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Zhenhua Luo [Tue, 20 Dec 2016 12:18:55 +0000 (20:18 +0800)]
dpa-offload: upgrade to SDK 2.0 GA-1611 release
The following changes are included:
* 68faa6a dpa_offload: Add support for offloading PPPoE flows
* 8bf3cdf dpa_offload/dpa_classifier: Improve support for "return-to-keygen" table entries
Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Zhenhua Luo [Tue, 20 Dec 2016 12:18:54 +0000 (20:18 +0800)]
usdpaa-apps: upgrade to SDK 2.0 GA-1611 release
The following changes are included:
* 8fe2e96 usdpaa_apps: Patch to add ipsecfwd config script for perf.
* 9d7f0fe usdpaa_apps: Patch to add lpm ipfwd config scripts for perf.
* f03552a Merge pull request #27 in SDK/usdpaa-apps from ~B06830/usdpaa-apps:bugfix/QUSDPA-869 to sdk-v2.0.x
* 88c1539 ipsecfwd, simple_proto: use DKP for MDHA split key generation
* 41d9630 usdpaa_apps: Patch to fix next header protocol in esp header
* a889294 usdpaa_apps: Patch to add ipfwd_config file for perf.
* 1ef1d53 Merge pull request #18 in SDK/usdpaa-apps from ~B06830/usdpaa-apps:bugfix/QUSDPA-838 to sdk-v2.0.x
* 6172983 usdpaa_apps: Patch to use default queue for functionality
* b992189 usdpa_app: Patch to add ls1046a support in standalone-env.
* 53851fb usdpaa_app: Patch to add fmc config for LS1046ARDB
* 1c7a501 simple_proto: add supplementary MBMS test vectors
* 2536748 simple_proto: MBMS test vector fixes
Signed-off-by: Ting Liu <ting.liu@nxp.com Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Zhenhua Luo [Tue, 20 Dec 2016 12:18:50 +0000 (20:18 +0800)]
fmlib: upgrade to SDK 2.0 GA-1611 release
* add ls1046a targets build support
* include the following changes caec18a use mcpu option as 'cortex-a57' for Cortex A72 1f28ceb Makefile fix for LS1046 7e73160 Enable support for LS1046(based on LS1043 integration files)
Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Zhenhua Luo [Tue, 20 Dec 2016 12:18:49 +0000 (20:18 +0800)]
fmc: upgrade to SDK 2.0 GA-1611 release
* add ls1046a targets support
* include the following changes 81e4796 Revert default platform flag to P4080 4729b49 Enable support for LS1046 (based on LS1043 integration)
Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>