Age | Commit message (Collapse) | Author |
|
For 2D GPU cores there is a potential need to manage the maximum number
of outstanding return requests from the memory subsystem. The proper way
to manage these for 2D cores with this configuration is to use a FLUSH.
The patch does a FLUSH after every DRAW, the pipe will not overfill and
the scenario which may lead to a stall will not occur.
Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
For 2D GPU cores there is a potential need to manage the maximum number
of outstanding return requests from the memory subsystem. The proper way
to manage these for 2D cores with this configuration is to use a FLUSH.
The patch does a FLUSH after every DRAW, the pipe will not overfill and
the scenario which may lead to a stall will not occur.
This patch requires the Linux kernel 3.10.17-1.0.1 fixes.
Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
The Vivante DRI library requires the libdrm to proper work; this adds
the missing dependency.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
This fixes the following build error:
,----
| .../configure: line 4229: syntax error near unexpected token `DIRECTFB,'
| .../configure: line 4229: `PKG_CHECK_MODULES(DIRECTFB, directfb >= $DIRECTFB_REQUIRED_VERSION, WATER=`$PKG_CONFIG --variable=water directfb` ,'
`----
Change-Id: Ibd5807b1497ff83b4241cd53f97d18b62a0cb2df
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
The libgl-mx6 package had a duplicated libGL.so.1.
Force it into a symlink.
This was tested by comparing the output of "ls -lR --time-style=+ image/"
before and after the change.
Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
The do_install() function is run under pseudo in order to create packages with
correct file-permissions. By issuing "cp -a" to install files, we leak
build user/group permissions into the packages, since the do_unpack() function
is executed as the regular build user. Replace it with -P, so that we at least
keep symlinks.
Also drop -x (--one-file-system) since it's not needed.
This was tested by comparing the output of "ls -lR --time-style=+ image/"
before and after the change.
Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Running
readelf --dynamic libgc_wayland_protocol.so | grep NEEDED
shows that the library has a runtime dependency on libffi. Same thing
applies to libwayland-viv.so.
For non-wayland builds, where libffi may or may not be available during
package time, skip packaging them so that they don't cause unexpected
dependency changes in buildhistory.
Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
This character causes touch issues with calibration failing
Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Building with Angstrom toolchain fails on inline assembler added by
drm-update-arm.patch because of missing ite instruction. Insert
instruction to make the inline assembler block Thumb2 compatible.
Signed-off-by: Thomas Elste <thomas.elste@imms.de>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Restrict the recipe to be used for 'mx5' SoCs only.
Change-Id: I9084cc525c7136b23e1c5522079c38bd12df7087
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Change-Id: Id0ec99d783bbe2b7fe8ef751c45f3de670066f86
Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Equivalent fix-hdmi-preferred patch was applied so remove with new version.
Change-Id: I71be1a71b11415fced061ce6b7d13bf758c67bed
Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Change-Id: If7482f4072d136f4de4ea17d3a7a3ad18edac043
Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
This uses the % wildcard for recipe matching, this easy the update of
recipe versions and maintenance.
- formfactor_0.0.bbappend
- udev-extraconf_1.0.bbappend
- eglinfo-fb_1.0.bbappend
- eglinfo-x11_1.0.bbappend
- mesa-demos_8.1.0.bbappend
- pointercal-xinput_0.0.bbappend
- xserver-xf86-config_0.1.bbappend
- gst-plugins-base_0.10.36.bbappend
- gst-plugins-gl_0.10.3.bbappend
- qt4-embedded_4.8.5.bbappend
- qt4-x11-free_4.8.5.bbappend
Change-Id: Ia901561f327fde3109237994a2a5a76827f11913
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
This breaks building as we currently have no native provider for EGL
and it does make no sense to enable it for native case.
Change-Id: If76a77053aebe09dc8b621eaff66a072fc618eda
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Change-Id: I28acf69060093b60f0846adf41f96ea31ab158f8
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
The mesa is not build in case we don't have X11 enabled and forcing
this runtime dependency breaks the Wayland and DirectFB backends
build.
The right way to address this issue is to isolate the used headers
from mesa and get them into the gpu-viv-bin-mx6q tarball but this is
something that ought to be done by Vivante and/or Freescale.
Change-Id: I25126aa362fe3ce0e74ea0dee2f0cd59fae2c531
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
There are no SoC specific dependencies which we need to use the
overrides system to specify the dependencies so the use of variables
just makes the depends line harder to read. Stop using the temporary
variables for X11 and Wayland dependencies.
Change-Id: I7e31c0c19dde7e81fc4dfed0553945733f636c43
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
This backports the directfb 1.6.3 and counter part directfb-examples
1.6.0 for use with i.MX6 SoCs as Vivante GPU is not compatible with
the 1.7 API. Along the recipes backport this commit sets the preferred
version accordingly.
Change-Id: I658af7b7881d743cb1a04f6ffb23739711af989b
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Add support for Vivante GPU acceleration for 2D and 3D.
Change-Id: Iaa457ef324a98b73e1f35f47b9030c48f9e170c7
Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Change-Id: I7778227884069b718ca72e4dbb212782843682b6
Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
not supported
The out of tree build is not currently supported so disable it for
now; this change is need to allow autotools to default to out of tree
builds in future.
Change-Id: I89103b39bba524403be5bb1916ea5d99bb1662b4
Reported-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
The Vivante default backend is X11 so we must ensure we use the
Framebuffer API when building for Wayland otherwise it fails badly.
Change-Id: I64940b5f9dbf28e5e52e5e297cba4e7daa6a7a43
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
When using Wayland support, a dependency on 'wayland' is needed so the
shlib dependency can be done accordingly and we can have a
deterministic build.
Change-Id: Ief7caced3abf282d83fcd93c8bcb4a5622414c20
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
This allow for version independant matching so we don't need to bump
it every time OE-Core updates.
This also removes the -DUSE_API_FB for X11 case as X11 cannot use it.
Change-Id: I20eef5c08ee8e6799c5038d5aa3dcd3ba4cb6f3f
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
This allow for version independant matching so we don't need to bump
it every time OE-Core updates.
This also removes the -DUSE_API_FB for X11 case as X11 cannot use it
and fix the base_contains syntax in PACKAGECONFIG setting.
Change-Id: I7b757906354e7c815e62fff6fd059a82f1ecff78
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
The pkgconfig files are need for some applications which use it to
check for library avaiability. The culprit which triggered it was the
addition of glmark2 into the test image, thus causing a build failure
in our autobuilder.
The build has been tested in X11 and Framebuffer backends.
Change-Id: I4fca032f5c2c8768b92430f05bc80e5ba51854be
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
The PRINC use is deprecated and a patch bumping those is applied in
OE-Core. As consequence we must drop those here as soon as possible to
avoid PR changes in users feeds.
Change-Id: I5bb3947d96b76716db67e2122c6a00ea695ca7bb
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Add gmem tool installation
Upgrade to p13 version
Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
This rework the packaging:
- add missing licence check file
- package the .so lib in ${PN}
- remove override of ${PN}-dbg
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
This includes support for p13 vivante upgrade and support for webGL rendering
Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
The 3.10.17-beta driver mode selection defaults to the lowest
resolution, which is not optimal. This patch changes it to use the
monitor/display preferred mode.
Thanks to Jon Nettleton <jon.nettleton@gmail.com> for the patch.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Tested-By: Eric Nelson <eric.nelson@boundarydevices.com>
|
|
Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Currently Vivante does not provides a valid GL API so Xorg fails to
link against it, we cannot workaround it easily in newer Xorg version
so instead of maintaining a pile of patches for it we are backporting
1.14.4 version as an interim solution.
Change-Id: Ie8c8c002f7c3904abb383f2a1ee6f3dc6ad09e20
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Tested-by: Gary Thomas <gary@mlbassoc.com>
Tested-by: John Weber <rjohnweber@gmail.com>
|
|
This updates the bbappend to the newer version; as mesa now provides
the needed PACKAGECONFIG settings we rely on this instead of using an
annonymous Python code to change it during build time.
The bbappend file now is much easier to read.
Change-Id: Ie7b6027462f458d139d0561e737b254dd8b07653
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Tested-by: Gary Thomas <gary@mlbassoc.com>
Tested-by: John Weber <rjohnweber@gmail.com>
|
|
world builds create alot of error messages with
recipes such as this one, which depends on other
recipes which have COMPATIBLE_MACHINE set.
Signed-off-by: David Nyström <david.c.nystrom@gmail.com>
|
|
OE-Core has include a package.bbclass change which has changes
the behaviour from the strip logic.
This patch restore the old beaviour so we have same functional
result as before.
See http://patches.openembedded.org/patch/65311/
Change-Id: I01d12cc0d69def46044cb2bf9ef1d507f8274e6e
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
OE-Core has include a package.bbclass change which has changes
the behaviour from the strip logic.
This patch restore the old beaviour so we have same functional
result as before.
See http://patches.openembedded.org/patch/65311/
Change-Id: If33c4d164b853caeb1c14557cd5db5a7f5694fdf
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Change file name to use % and append against any revision of the main
libdrm recipe. This makes updating the .bbappend file name only
necessary if recipe itself needs to change.
Signed-off-by: John Weber <rjohnweber@gmail.com>
|
|
Split lib and samples into two different packages: libg2d for the lib,
and gpu-viv-g2d for samples.
Default packages removed from PACKAGES variable.
Source variable (S) removed, as it's the default.
Signed-off-by: Rogerio Nunes <rogerio.nunes@freescale.com>
|
|
Change-Id: I1ae9dc8350827fd31ffc89338b00b9bc939d3f2b
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
|
|
This patch adds X11 and Wayland support with Vivante GPU.
In case 'x11' and 'wayland' distro features are both enabled,
defaults to X11.
Signed-off-by: Rogerio Nunes <rogerio.nunes@freescale.com>
|
|
Add support for Vivante GPU for use with X11 and Wayland backends. In
case 'x11' and 'wayland' distro features are both enabled, it defaults
for X11 support.
Change-Id: I437e9803214c8d1ea3febed3ed318a29bc667eed
Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Add support for Vivante GPU for use with X11 and Wayland backends. In
case 'x11' and 'wayland' distro features are both enabled, it defaults
for X11 support.
Change-Id: I180b92818a3081c861b7f29fc35bbc75e2b56b9d
Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Change-Id: If943d3f8954dccb3e25e7f4ae8ba8971d938e598
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Change-Id: Id9acfc1fd5a9d2754d94495716be7e6bde88b4eb
Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@freescale.com>
|
|
Change-Id: Id093c95fb3d5d6259b3b7873bc7b8aed2da7b1fd
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
Change-Id: Iae31c37b6c90d936123162d2ec24567e96f6c1b2
Signed-off-by: Lauren Post <lauren.post@freescale.com>
|
|
Hardware and software floating point packages updated; adds also a
runtime dependency against libgl-mesa-dev for libgl-mx6-dev.
Change-Id: Ic2c9bec2df8147e17d7299ddea0a7b077c0e2f69
Signed-off-by: Lauren Post <lauren.post@freescale.com>
|