1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-07-16 14:27:48 +00:00

134 Commits

Author SHA1 Message Date
Anand Balagopalakrishnan ea22f42bbc ti-sgx-ddk-um: wlpvr_ws: Map DBM buffers and populate meminfo
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2018-03-05 22:05:54 -05:00
Anand Balagopalakrishnan 7314bb6ac3 1/1] ti-sgx-ddk-um: add support for GBM pixmap surface
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-27 18:19:58 -05:00
Anand Balagopalakrishnan ed06c3bb58 ti-sgx-ddk-um: add support for dmabuf import in GBM WSEGL
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-27 18:19:41 -05:00
Anand Balagopalakrishnan de64271432 PATCH 1/1] ti-sgx-ddk-um: fix memory leak with EGL Image DMABuf import
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-27 18:19:36 -05:00
Karthik Ramanan 55ef80db5e ti-sgx-ddk-um: enhance wl_display validation criterion
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-15 14:36:46 -05:00
Karthik Ramanan 3a601d6bf3 ti-sgx-ddk-um: Add support for YUYV EGLImage
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-22 13:19:22 -05:00
e-ruei1@ti.com ca02a57aa9 ti-sgx-ddk-um: fix a bug at the drmModeAddFB() call at null_drm_ws.c
Both parameter depth and bpp are set to uiPixelWidthInBits at the current
implementation, however, the depth may not be the same as bpp for certain
pixel format such as XRGB8888. This bug was exposed by the recent DRM
driver change introducing strict error checking. To fix this problem,
add utility function uiPixelDepthInBits to derive and use depth based on
the pixel format.

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-07 14:50:14 -05:00
Anand Balagopalakrishnan f7719a0e1d ti-sgx-ddk-um: add apphint to control number of GBM WSEGL surface buffers
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-11-23 13:07:11 -05:00
Anand Balagopalakrishnan ed280351e9 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
https://www.khronos.org/registry/egl/extensions/EXT/EGL_EXT_image_dma_buf_import.txt

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@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-10-25 18:52:43 -04:00
Anand Balagopalakrishnan 0597d47676 ti-sgx-ddk-um: remove invalid tests for sgx
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-10-24 22:28:03 -04:00
Gowtham Tammana f807c71853 ti-gc320-libs: add recipe for gc320 user lib
Userspace libraries for GC320 chipset on TI SoCs

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-08-23 14:40:05 -04:00
e-ruei1@ti.com d3a9b0c604 ti-sgx-ddk-um: Add libPVRScopeServices.so to plugins list
libPVRScopeServices.so is required for the Imagination PVRTune operation.

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-08-08 11:38:22 -04:00
Anand Balagopalakrishnan dc856da7db ti-sgx-ddk-um: disable active power management
Disable active power management in SGX. This will enable host triggered
suspend-resume for SGX.

Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-29 17:08:31 -04:00
e-ruei1@ti.com 2a57c4c768 ti-sgx-ddk-um: update srcrev and bump PR
* bring in the fix of QML overlay display problem

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-26 21:59:31 -04:00
Anand Balagopalakrishnan 3f896e1c52 ti-sgx-ddk-um: update srcrev and bump PR
* rebuild SGX user mode driver with GCC 5.3

Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-13 14:57:08 -04:00
Jacob Stiffler 0e804eb4d9 ti-sgx-ddk-um: Add DEPENDS based on REDEPENDS
* The ti-sgx-ddk-um recipe installs pre-built libraries
* Because of this, the dependencies are given as RDEPENDS as they are
  not needed for building the recipe
* However, this may break recipes which depend on ti-sgx-ddk-um, as
  the ti-sgx-ddk-um dependencies may not yet be populated in the
  sysroot.
* This resolves the break in the dependency chain by translating the
  RDEPENDS into a list of DEPENDS

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-11 20:44:02 -04:00
Anand Balagopalakrishnan ce947bca0e ti-sgx-ddk-um: update srcrev and bump PR
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-05 11:16:03 -04:00
Denys Dmytriyenko 6dea1b68af sgx: drop old outdated omap3-sgx-modules and libgles-omap3 recipes
Besides being outdated and deprecated in favor of new ti-sgx-ddk recipes
(previously known as omapdrm-pvr and omap5-sgx-ddk), 3D graphics drivers
are kernel specific and corresponding kernel versions (prior to 4.0) have
all been dropped already.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-26 14:54:59 -04:00
Denys Dmytriyenko c70102c671 sgx: rename and clean up kernel and user space components
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-26 14:54:54 -04:00
Denys Dmytriyenko 7663c3bcf5 libgbm: add latest version 10.0.0 from meta-arago
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-20 16:50:30 -04:00
Denys Dmytriyenko d82a408e1f libdrm: drop outdated custom version, use latest upstream now
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-20 16:50:28 -04:00
Karthik Ramanan fdda559e85 bltsville: Deprecate - no longer supported
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-19 18:04:52 -04:00
e-ruei1@ti.com 3b4a735d5f omap5-sgx-ddk-um-linux:bump SRCREV for bug fixes in nullDRM EGL
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-16 14:40:42 -04:00
e-ruei1@ti.com f7be8fd696 omap5-sgx-ddk-um-linux: Add INSANE_SKIP list for plugins
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-04 12:07:30 -05:00
e-ruei1@ti.com 06153e9c19 omap5-sgx-ddk-um-linux: Add plugins list
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-02 22:20:46 -05:00
Anand Balagopalakrishnan a64524579a omap5-sgx-ddk-um-linux: remove version 1.9.0.12 as replaced by 1.14.3699939
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-29 16:15:56 -05:00
Anand Balagopalakrishnan 648a2cc057 omap5-sgx-ddk-um-linux: bump SRCREV for bug fixes in Wayland EGL
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-29 16:15:49 -05:00
Anand Balagopalakrishnan 4cdee8256c omap5-sgx-ddk-um-linux: register PVR service for autostart on boot
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-29 16:15:46 -05:00
Anand Balagopalakrishnan f235062226 omap5-sgx-ddk-um-linux: bump SRCREV for gl2ext header change
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-17 16:34:25 -05:00
Jacob Stiffler cce1f18c78 omap5-sgx-ddk-um-linux: Specify COMPATIBLE_MACHINE list
* This is only compatible with ti33x, ti43, and omap-a15 as a SRCREV
  is only supplied for these SOC families.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-15 17:27:22 -05:00
Anand Balagopalakrishnan 9b2781e62b omap5-sgx-ddk-um-linux: SGX user mode driver v1.14 for all TI SoCs
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-15 17:26:58 -05:00
Adam YH Lee 65739cbc43 libgles-omap3: fix RPM compatibility by faking hardcoded deps
When RPM is used as the packaging type, rootfs will fail because RPM, by
design, check for file level dependency. Here one of the shared objects
(libpvrEWS_REMWSEGL.so) has dependency on ld-linux.so.3 and libews.so.

It is unclear why meta-ti requires ld-linux.so.3, which is a dynamic
loader for soft-float arch. Hence I fake the existence here.

Signed-off-by: Adam YH Lee <adam.yh.lee@gmail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-08 12:22:33 -05:00
Anand Balagopalakrishnan 7d70637ea1 omap5-sgx-ddk-um-linux: bump SRCREV for AM57x/DRA7xx to the latest DDK UM
* Resolve SGX HWrecovery when Wayland OpenGLES clients are killed
* Enable screenshots in Weston
* Resolve SGX HWrecovery with glmark2 benchmark
* Resolve rendering issues with half float textures

Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-18 12:44:26 -05:00
Eric Ruei 9c3254ecb6 omap5-sgx-ddk-um-linux: bump SRCREV of ti33x for configuration variable DefaultPixelFormat support
* DefaultPixelFormat is used to set the default EGL pixel format

Signed-off-by: Eric Ruei <a0850410@uda0850410>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-24 13:15:32 -05:00
Gou, Hongmei cd3fcb02fc omap5-sgx-ddk-um-linux: bump SRCREV and update powervr.ini and .so inclusion for AM3
* Bump SRCREV for DRM FLIP mode support, and update powervr.ini correspondingly
* Add plugins package to include the necessary .so files

Signed-off-by: Hongmei Gou <h-gou@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-10 10:45:23 -05:00
Gou, Hongmei d5e19628cf omap5-sgx-ddk-um-linux: bump SRCREV and other changes to support wayland/DRM on AM4
* Support wayland/DRM mode
* Remove powervr.ini which is no longer needed
* Add plugins package to include the necessary .so files

Signed-off-by: Hongmei Gou <h-gou@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-09 14:31:39 -05:00
Denys Dmytriyenko dca006ff39 omap5-sgx-ddk-um-linux: explicitly specify RDEPENDS on libdrm
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-09 14:31:33 -05:00
Denys Dmytriyenko 5c129778bd libdrm: remove unused patch
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-08 17:57:15 -04:00
Gou, Hongmei 45f4403d2c omap5-sgx-ddk-um-linux: Bump SRCREV for am4/k4.1 branch
* Get changes for adding softlinks for libGLES_CM.so.1 and libGLESv2.so.1

Signed-off-by: Hongmei Gou <h-gou@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-08 11:57:18 -04:00
Gou, Hongmei 62fe901541 libdrm: add ti33x and ti43x to COMPATIBLE_MACHINE
Signed-off-by: Hongmei Gou <h-gou@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-28 20:03:59 -04:00
Gou, Hongmei 483a8ce22c omap5-sgx-ddk-um-linux: add AM3 and AM4, and pvr-init to initialization
* Add AM3 and AM4 which use null_windown DRM
* Add pvr-init to /etc/init.d

Signed-off-by: Hongmei Gou <h-gou@ti.com>

v2 changes:
1) Use 8 as the initialization number for pvr-init, since pvr-init needs to be done before starting weston which uses number 9
2) Create empty powervr.ini as the default, and place ti33x and ti43x specific ones in their corresponding directories
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-28 20:03:54 -04:00
Denys Dmytriyenko 40d2c2ee8a omapdrm-pvr/omap5-sgx-ddk-um-linux: update due to branch shuffle
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-24 15:20:24 -04:00
Anand Balagopalakrishnan 9f19b1f20d omap5-sgx-ddk-um-linux: update SGX user mode binaries to latest version
* Fix for SGX HW recovery issue when Weston EGL clients are killed

Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-24 14:33:21 -04:00
Denys Dmytriyenko 267bc8a80b omap5-sgx-ddk-um-linux: Makefile doesn't have clean target
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-10 13:16:05 -04:00
Denys Dmytriyenko 519abe696a bltsville: fix build when B != S
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-07-29 22:56:23 -04:00
Denys Dmytriyenko 2d2633227f libdrm.inc: overlay recently removed .inc used by our custom version
Consider dropping custom version altogether after verifying everything
is upstreamed.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-07-08 18:00:40 -04:00
Karthik Ramanan 5f6cf869fb omap5-sgx-ddk-um-linux: Bug fixes for memory leak
* Fix memory leak in Wayland WSEGL
* Refactor the code for print messages

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-07-07 16:27:08 -04:00
Denys Dmytriyenko 92af7cd1bf omap5-sgx-ddk-um-linux: fix GNU_HASH and RPATH QA warnings
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-21 11:11:26 -04:00
Karthik Ramanan b615fa4a50 omap5-sgx-ddk-um-linux: Updated SRCREV to include bugfixes
* This version is compatible with version Kernel 3.14

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-20 12:27:35 -05:00
Franklin S. Cooper Jr aacec4fb82 Graphics SDK: Add 05.01.01.02
* This graphics sdk is a minor update to the 05.01.01.01 version but includes
  updates to support the 3.14 kernel.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-02 15:15:38 -05:00