[meta-ti] Anand Balagopalakrishnan : ti-sgx-ddk-um: add support for importing DMABUF as EGLImage

Arago Project git git at arago-project.org
Tue Oct 25 15:56:09 PDT 2016

Module: meta-ti
Branch: master
Commit: 4d3e4a6f3796c79e86c0655cdf398c1bb147070c
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=4d3e4a6f3796c79e86c0655cdf398c1bb147070c

Author: Anand Balagopalakrishnan <anandb at ti.com>
Date:   Tue Oct 25 21:58:28 2016 +0000

ti-sgx-ddk-um: add support for importing DMABUF as EGLImage

This patch adds support for importing DMABUFs as EGLImages.
This work is based on the Spec defined in

The feature currently supports YUYV and NV12 formats
In addition, the following are supported:
* YUV full range and narrow range
* YUV color space BT709 and BT601
* YUV color space BT2020 is not supported
* Chroma siting parameters are ignored

For YUYV buffers, user needs to pass the width, height, and a 3-tuple
consisting of the dmabuf fd, pitch, and offset=0.

For YUV buffers, user needs to pass the width, height and two 3-tuples
consisting of the dmabuf fds, pitches, and offsets=0.
Please note that multiple dmabuf fds are not supported, and therefore,
for NV12,
* fd[0] must be equal to fd[1] and
* pitch[0] must be equal to pitch[1]

Signed-off-by: Anand Balagopalakrishnan <anandb at ti.com>
Signed-off-by: Denys Dmytriyenko <denys at ti.com>


 .../libgles/ti-sgx-ddk-um_1.14.3699939.bb          |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb b/recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb
index 9d0c406..15c9232 100644
--- a/recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb
+++ b/recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb
@@ -8,7 +8,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
 BRANCH = "ti-img-sgx/${PV}"
 SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}"
-SRCREV = "f65d06843ef21964e266a7618c1529840653d563"
+SRCREV = "fccafce7d0a023e36c064ccbaa7d33e89252ea00"
 # There's only hardfp version available
 python __anonymous() {
@@ -31,7 +31,7 @@ INITSCRIPT_PARAMS = "defaults 8"
 inherit update-rc.d
-PR = "r15"
+PR = "r16"
 PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 omap5-sgx-ddk-um-linux"
 DEPENDS += "libdrm udev libgbm wayland libffi"

More information about the meta-ti mailing list