All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] omap5-sgx-ddk-um-linux: Bump SRCREV and update powervr.ini
@ 2015-10-09 13:22 Jacob Stiffler
  2015-10-13 17:08 ` Denys Dmytriyenko
  0 siblings, 1 reply; 3+ messages in thread
From: Jacob Stiffler @ 2015-10-09 13:22 UTC (permalink / raw)
  To: meta-ti

* 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

* Update powervr.ini as null_libdrm.so is replaced with
  libpvrDRMWSEGL.so and libpvrDRMWSEGL_FRONT.so

Signed-off-by: Jacob Stiffler <j-stiffler@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



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] omap5-sgx-ddk-um-linux: Bump SRCREV and update powervr.ini
  2015-10-09 13:22 [PATCH] omap5-sgx-ddk-um-linux: Bump SRCREV and update powervr.ini Jacob Stiffler
@ 2015-10-13 17:08 ` Denys Dmytriyenko
  2015-10-15 12:27   ` Jacob Stiffler
  0 siblings, 1 reply; 3+ messages in thread
From: Denys Dmytriyenko @ 2015-10-13 17:08 UTC (permalink / raw)
  To: Jacob Stiffler; +Cc: meta-ti

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?


> * Update powervr.ini as null_libdrm.so is replaced with
>   libpvrDRMWSEGL.so and libpvrDRMWSEGL_FRONT.so
> 
> Signed-off-by: Jacob Stiffler <j-stiffler@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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] omap5-sgx-ddk-um-linux: Bump SRCREV and update powervr.ini
  2015-10-13 17:08 ` Denys Dmytriyenko
@ 2015-10-15 12:27   ` Jacob Stiffler
  0 siblings, 0 replies; 3+ messages in thread
From: Jacob Stiffler @ 2015-10-15 12:27 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: meta-ti



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@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@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-ti



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-10-15 12:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-09 13:22 [PATCH] omap5-sgx-ddk-um-linux: Bump SRCREV and update powervr.ini Jacob Stiffler
2015-10-13 17:08 ` Denys Dmytriyenko
2015-10-15 12:27   ` Jacob Stiffler

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.