[meta-ti] [PATCH] omap5-sgx-ddk-um-linux: Bump SRCREV and update powervr.ini

Jacob Stiffler j-stiffler at ti.com
Thu Oct 15 05:27:14 PDT 2015



On 10/13/2015 1:08 PM, Denys Dmytriyenko wrote:
> On Fri, Oct 09, 2015 at 09:22:48AM -0400, Jacob Stiffler wrote:
>> * Latest commit indroduces the following:
>>    - Use updated libUMGegl library with end of call protection
>>    - Add Null-Window DRM FLIP mode support
>>    - Replace null_libdrm.so with libpvrDRMWSEGL.so and
>>      libpvrDRMWSEGL_FRONT.so
>>    - Add EGL API call clear protections at function_table.c
>>    - Supress the OpenDC warning since DC is no longer used.
>>    - Enhance drmModeSetCrtc to take the current configuration if set.
>>
>> * Package *.so libraries in main package since it is the DDK
>>    convention to not create the version suffixed libraries with
>>    symlinks
> Is it really? The old Graphics SDK and even Graphics DDK for am5 used to do it
> right. Checking for other GLES implementations also shows proper packaging of
> .so libs. Maybe this should be fixed to do it right?

The DDK team is having discussions related to fixing this... I can 
update once I know more information.

Currently, the libraries libpvrDRMWSEGL.so and libpvrDRMWSEGL_FRONT.so 
are only provided without the version suffix. Therefore, null DRM will 
not function without this.

>
>> * Update powervr.ini as null_libdrm.so is replaced with
>>    libpvrDRMWSEGL.so and libpvrDRMWSEGL_FRONT.so
>>
>> Signed-off-by: Jacob Stiffler <j-stiffler at ti.com>
>> ---
>>   recipes-graphics/libgles/omap5-sgx-ddk-um-linux/ti33x/powervr.ini | 3 ++-
>>   recipes-graphics/libgles/omap5-sgx-ddk-um-linux/ti43x/powervr.ini | 3 ++-
>>   recipes-graphics/libgles/omap5-sgx-ddk-um-linux_1.9.0.12.bb       | 8 +++++---
>>   3 files changed, 9 insertions(+), 5 deletions(-)
>>
>> diff --git a/recipes-graphics/libgles/omap5-sgx-ddk-um-linux/ti33x/powervr.ini b/recipes-graphics/libgles/omap5-sgx-ddk-um-linux/ti33x/powervr.ini
>> index 0657ab8..5b5608e 100644
>> --- a/recipes-graphics/libgles/omap5-sgx-ddk-um-linux/ti33x/powervr.ini
>> +++ b/recipes-graphics/libgles/omap5-sgx-ddk-um-linux/ti33x/powervr.ini
>> @@ -1,3 +1,4 @@
>>   [default]
>> -WindowSystem=null_libdrm.so
>> +WindowSystem=libpvrDRMWSEGL_FRONT.so
>> +#WindowSystem=libpvrDRMWSEGL.so
>>   DisableHWTQTextureUpload=1
>> diff --git a/recipes-graphics/libgles/omap5-sgx-ddk-um-linux/ti43x/powervr.ini b/recipes-graphics/libgles/omap5-sgx-ddk-um-linux/ti43x/powervr.ini
>> index 0657ab8..5b5608e 100644
>> --- a/recipes-graphics/libgles/omap5-sgx-ddk-um-linux/ti43x/powervr.ini
>> +++ b/recipes-graphics/libgles/omap5-sgx-ddk-um-linux/ti43x/powervr.ini
>> @@ -1,3 +1,4 @@
>>   [default]
>> -WindowSystem=null_libdrm.so
>> +WindowSystem=libpvrDRMWSEGL_FRONT.so
>> +#WindowSystem=libpvrDRMWSEGL.so
>>   DisableHWTQTextureUpload=1
>> diff --git a/recipes-graphics/libgles/omap5-sgx-ddk-um-linux_1.9.0.12.bb b/recipes-graphics/libgles/omap5-sgx-ddk-um-linux_1.9.0.12.bb
>> index cd01d6f..ed24ada 100644
>> --- a/recipes-graphics/libgles/omap5-sgx-ddk-um-linux_1.9.0.12.bb
>> +++ b/recipes-graphics/libgles/omap5-sgx-ddk-um-linux_1.9.0.12.bb
>> @@ -11,15 +11,15 @@ BRANCH_ti43x = "am4/k4.1"
>>   
>>   SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}"
>>   SRCREV_omap-a15 = "d63cd6469fff610317a8e1c986f227bb3e7922f6"
>> -SRCREV_ti33x    = "188575c7ba16c00a15499ed88a126af2506fdba5"
>> -SRCREV_ti43x    = "188575c7ba16c00a15499ed88a126af2506fdba5"
>> +SRCREV_ti33x    = "e15f1543bab4de9e8927a2c4934addf3fd16ffcb"
>> +SRCREV_ti43x    = "e15f1543bab4de9e8927a2c4934addf3fd16ffcb"
>>   
>>   INITSCRIPT_NAME = "pvr-init"
>>   INITSCRIPT_PARAMS = "defaults 8"
>>   
>>   inherit update-rc.d
>>   
>> -PR = "r11"
>> +PR = "r12"
>>   PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2"
>>   
>>   RDEPENDS_${PN} += "libdrm"
>> @@ -52,6 +52,8 @@ FILES_${PN} += "${sysconfdir}/powervr.ini"
>>   
>>   INHIBIT_PACKAGE_STRIP = "1"
>>   
>> +FILES_SOLIBSDEV = ""
>> +
>>   INSANE_SKIP_${PN} += "dev-so ldflags useless-rpaths"
>>   
>>   CLEANBROKEN = "1"
>> -- 
>> 1.9.1
>>
>> -- 
>> _______________________________________________
>> meta-ti mailing list
>> meta-ti at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-ti



More information about the meta-ti mailing list