5 years agoMerge pull request #13 in GRAPHICS/omap5-sgx-ddk-um-linux from GFXFORK/anand-omap5... ti-img-sgx/1.14.3699939_k4.4
Merge pull request #13 in GRAPHICS/omap5-sgx-ddk-um-linux from GFXFORK/anand-omap5-sgx-ddk-um-linux:glslcompiler to ti-img-sgx/1.14.3699939_k4.4
* commit 'ca4061e0ba72e5ba8d68d59d6c6e491b2719ab9d':
host: publish latest GLSL offline compilers for SGX
* commit 'ca4061e0ba72e5ba8d68d59d6c6e491b2719ab9d':
host: publish latest GLSL offline compilers for SGX
host: publish latest GLSL offline compilers for SGX
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Merge pull request #11 in GRAPHICS/omap5-sgx-ddk-um-linux from GFXFORK/ramprasad-omap5-sgx-ddk-um-linux:feature/x0038811/wlegl-yuv-fullrange_4.4k to ti-img-sgx/1.14.3699939_k4.4
* commit '0870670b6b9b2bd937d66d9dcb51a97be059fc72':
um: wlegl: add apphint to configure yuv CSC range
* commit '0870670b6b9b2bd937d66d9dcb51a97be059fc72':
um: wlegl: add apphint to configure yuv CSC range
um: wlegl: add apphint to configure yuv CSC range
Signed-off-by: Ramprasad N <x0038811@ti.com>
Signed-off-by: Ramprasad N <x0038811@ti.com>
5 years agoMerge pull request #10 in GRAPHICS/omap5-sgx-ddk-um-linux from GFXFORK/ramprasad... feature/x0038811/wlegl-yuv-fullrange_4.4k
Merge pull request #10 in GRAPHICS/omap5-sgx-ddk-um-linux from GFXFORK/ramprasad-omap5-sgx-ddk-um-linux:bugfix/x0038811/bugfixes_features to ti-img-sgx/1.14.3699939_k4.4
* commit '07b5f98d2af8de4dcf076d470dd6c817f389c8c0':
um: Major bugfixes and feature additions
* commit '07b5f98d2af8de4dcf076d470dd6c817f389c8c0':
um: Major bugfixes and feature additions
um: Major bugfixes and feature additions
Following features additions and bugfixes done in this version
*add apphint to configure number of wayland client buffers
*fix for compile error with PVR_DEBUG_MUTEXES=1
*dbm: Apphint for DRM driver name
*tools: usc2: dce: fix GLSL compiler error
*gbm: gbmdisplay refCount fix in initialising services
*fix libGLESv2.so crashing at eglMakeCurrent for certain call flows
*gles: Fix alloc size for dummy VDM control stream
*Check HWTQ blit restriction when destination layout is twiddled
Signed-off-by: Ramprasad N <x0038811@ti.com>
Following features additions and bugfixes done in this version
*add apphint to configure number of wayland client buffers
*fix for compile error with PVR_DEBUG_MUTEXES=1
*dbm: Apphint for DRM driver name
*tools: usc2: dce: fix GLSL compiler error
*gbm: gbmdisplay refCount fix in initialising services
*fix libGLESv2.so crashing at eglMakeCurrent for certain call flows
*gles: Fix alloc size for dummy VDM control stream
*Check HWTQ blit restriction when destination layout is twiddled
Signed-off-by: Ramprasad N <x0038811@ti.com>
host: publish GLSL offline compilers for SGX
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
um: add support for UYVY format in wl_drm
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
wlpvr_ws: Map DBM buffers and populate meminfo
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
um: add platform detection for DRA71x, DRA76x
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
um: support Mesa-style soname
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
um: restrict contiguous buffer using OMAP_BO flag only for jacinto6evm device
OMAP_BO flag is not applicable for ti335x / ti437x devices. Revert these
libraries to earlier version.
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
OMAP_BO flag is not applicable for ti335x / ti437x devices. Revert these
libraries to earlier version.
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
um: use OMAP_BO flag for contiguous buffers
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
um: add support for GBM Pixmap surface
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
um: add support for dmabuf import in GBM WSEGL
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
um: fix memory leak with EGL Image DMABuf import
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
um: enhance wl_display validation criterion
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
um: add support for YUYV EGLImage
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
um: null_drm: pass actual depth instead of width in drmModeAddFB()
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
7 years agogbm : add apphint to control number of surface buffers infoadas/1.14.3699939/k4.4 infoadas/1.14.3699939/next
gbm : add apphint to control number of surface buffers
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
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>
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>
build: remove invalid tests for sgx
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
um: fix bug while checking for GBM_BO_FORMAT
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
um: disable active power management
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
um: null_drm/gbm: add RGB565 support
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
um: merge the gles2 changes from ED3917252 to fix the QML overlay problem
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
um: rebuild DDK for GCC 5.3
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
um: bug fix for NullDRM/GBM/Wayland EGL
Signed-off-by: Valkeinen, Tomi <tomi.valkeinen@ti.com>
Signed-off-by: Valkeinen, Tomi <tomi.valkeinen@ti.com>
um: Merge the latest change from ED3917252 to fix the nullDRM display sync problem
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
um: add a sample powervr.ini config file
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
um: bug fixes for Wayland EGL
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
um: remove unused libraries and binaries
We don't support EWS, Front mode, Flip mode, Blit mode WSEGL modules anymore.
Remove them from the repository.
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
We don't support EWS, Front mode, Flip mode, Blit mode WSEGL modules anymore.
Remove them from the repository.
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
um: remove ews header files
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
um: fix errors with GL_API_EXT macro
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
package: add SGX configuration script - powervr.ini
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
package: update pvr init script for moving pvrsrvctl to /usr/bin
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
package: move binaries from local directory to default bin directory
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
um: enable burst combiner
trackback: 9be04898f74acb33804eb6dbbf87b2ecc8e1897f
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
trackback: 9be04898f74acb33804eb6dbbf87b2ecc8e1897f
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
um: resolve SGX HWrecovery when Wayland OpenGLES clients are killed
Trackback - 7043e75f068be8092da804805a517ba88c420811
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Trackback - 7043e75f068be8092da804805a517ba88c420811
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
um: fix for HWrecovery in glmark2
ref: bb0e310046f9276d4fd4af56ac2337f3b38cd5c8
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
ref: bb0e310046f9276d4fd4af56ac2337f3b38cd5c8
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
um: BRN56254: move allocation of terminate state out of graphics context
* Fixes major set of SGX HW recovery errors observed with glmark2
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
* Fixes major set of SGX HW recovery errors observed with glmark2
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
um: free buffer if ImportGEM fails
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
BRN57135 - Updated fix for the half-float issue
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
um: map user space GEM BO for KMS EGL
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
um: BRN57135 - fix for the application hang seen with Half float textures
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
wayland: Fix SGX HW recovery issue due to delayed Weston buffer release event
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Refactor the code for print messages
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Fix memory leak in Wayland WSEGL
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Enable texture2D operation for EGLImage based textures
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Fix GLSL compiler for texture2D operation
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Add support for J6Eco
* autodetect the platform (J6/J6Eco) and configure the number of cores in SGX
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
* autodetect the platform (J6/J6Eco) and configure the number of cores in SGX
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Export EGLImage targets and attributes
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Removed X11 references from Makefile and README
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Remove X11 from DDK binaries
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Fix for NPOT texture corruption issue with half float pixel formats
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
WSEGL support for Wayland 1.3
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
PVR EXA : Use SW fallback for composition
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Add support for X11 binaries and PVR EXA driver
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Manifest updated
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Moving the gbm libraries to gbm directory
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Removed symbolic links from the files
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Imagination SGX DDK user mode libraries v1.9.11
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>