All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Support hardware mode wayland for AM4
@ 2015-11-04 19:53 Hongmei Gou
  2015-11-04 19:53 ` [PATCH 1/2] omapdrm-pvr: disable PVR_NULLDRM to support DRI_DRM " Hongmei Gou
  2015-11-04 19:53 ` [PATCH 2/2] omap5-sgx-ddk-um-linux: bump SRCREV and other changes to support wayland/DRM on AM4 Hongmei Gou
  0 siblings, 2 replies; 5+ messages in thread
From: Hongmei Gou @ 2015-11-04 19:53 UTC (permalink / raw)
  To: meta-ti

Update DDK kernel module and user module to support wayland/DRM on AM4

Hongmei Gou (2):
  omapdrm-pvr: disable PVR_NULLDRM to support DRI_DRM for AM4
  omap5-sgx-ddk-um-linux: bump SRCREV and other changes to support
    wayland/DRM on AM4

 recipes-bsp/powervr-drivers/omapdrm-pvr_1.9.2253347.bb         |  2 +-
 .../libgles/omap5-sgx-ddk-um-linux/ti43x/powervr.ini           |  3 ---
 recipes-graphics/libgles/omap5-sgx-ddk-um-linux_1.9.0.12.bb    | 10 ++++++++--
 3 files changed, 9 insertions(+), 6 deletions(-)
 delete mode 100644 recipes-graphics/libgles/omap5-sgx-ddk-um-linux/ti43x/powervr.ini

-- 
1.9.1



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

* [PATCH 1/2] omapdrm-pvr: disable PVR_NULLDRM to support DRI_DRM for AM4
  2015-11-04 19:53 [PATCH 0/2] Support hardware mode wayland for AM4 Hongmei Gou
@ 2015-11-04 19:53 ` Hongmei Gou
  2015-11-04 19:53 ` [PATCH 2/2] omap5-sgx-ddk-um-linux: bump SRCREV and other changes to support wayland/DRM on AM4 Hongmei Gou
  1 sibling, 0 replies; 5+ messages in thread
From: Hongmei Gou @ 2015-11-04 19:53 UTC (permalink / raw)
  To: meta-ti

---
 recipes-bsp/powervr-drivers/omapdrm-pvr_1.9.2253347.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-bsp/powervr-drivers/omapdrm-pvr_1.9.2253347.bb b/recipes-bsp/powervr-drivers/omapdrm-pvr_1.9.2253347.bb
index 5d5119e..50df3d9 100644
--- a/recipes-bsp/powervr-drivers/omapdrm-pvr_1.9.2253347.bb
+++ b/recipes-bsp/powervr-drivers/omapdrm-pvr_1.9.2253347.bb
@@ -24,7 +24,7 @@ SRCREV_ti33x = "2b7523d07a13ab704a24a7664749551f4a13ed32"
 SRCREV_ti43x = "2b7523d07a13ab704a24a7664749551f4a13ed32"
 
 PVR_NULLDRM_ti33x = "1"
-PVR_NULLDRM_ti43x = "1"
+PVR_NULLDRM_ti43x = "0"
 PVR_NULLDRM_omap-a15 = "0"
 
 EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}" PVR_NULLDRM=${PVR_NULLDRM}'
-- 
1.9.1



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

* [PATCH 2/2] omap5-sgx-ddk-um-linux: bump SRCREV and other changes to support wayland/DRM on AM4
  2015-11-04 19:53 [PATCH 0/2] Support hardware mode wayland for AM4 Hongmei Gou
  2015-11-04 19:53 ` [PATCH 1/2] omapdrm-pvr: disable PVR_NULLDRM to support DRI_DRM " Hongmei Gou
@ 2015-11-04 19:53 ` Hongmei Gou
  2015-11-05 19:29   ` Denys Dmytriyenko
  1 sibling, 1 reply; 5+ messages in thread
From: Hongmei Gou @ 2015-11-04 19:53 UTC (permalink / raw)
  To: meta-ti

* 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>
---
 .../libgles/omap5-sgx-ddk-um-linux/ti43x/powervr.ini           |  3 ---
 recipes-graphics/libgles/omap5-sgx-ddk-um-linux_1.9.0.12.bb    | 10 ++++++++--
 2 files changed, 8 insertions(+), 5 deletions(-)
 delete mode 100644 recipes-graphics/libgles/omap5-sgx-ddk-um-linux/ti43x/powervr.ini

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
deleted file mode 100644
index 0657ab8..0000000
--- a/recipes-graphics/libgles/omap5-sgx-ddk-um-linux/ti43x/powervr.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[default]
-WindowSystem=null_libdrm.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..557c442 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
@@ -12,14 +12,14 @@ 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_ti43x    = "fdf4c0b594ca142a68aabb4c3f82b75be50b46cc"
 
 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"
@@ -50,8 +50,14 @@ FILES_${PN} +=  "${includedir}/* /usr/share/sgx-lib/"
 FILES_${PN} += "${sysconfdir}/init.d/pvr-init"
 FILES_${PN} += "${sysconfdir}/powervr.ini"
 
+PACKAGES =+ "${PN}-plugins"
+FILES_${PN}-plugins = ""
+FILES_${PN}-plugins_ti43x = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libpvrws_WAYLAND.so ${libdir}/libpvrws_KMS.so "
+RDEPENDS_${PN} += "${PN}-plugins"
+
 INHIBIT_PACKAGE_STRIP = "1"
 
 INSANE_SKIP_${PN} += "dev-so ldflags useless-rpaths"
+INSANE_SKIP_${PN}-plugins = "dev-so"
 
 CLEANBROKEN = "1"
-- 
1.9.1



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

* Re: [PATCH 2/2] omap5-sgx-ddk-um-linux: bump SRCREV and other changes to support wayland/DRM on AM4
  2015-11-04 19:53 ` [PATCH 2/2] omap5-sgx-ddk-um-linux: bump SRCREV and other changes to support wayland/DRM on AM4 Hongmei Gou
@ 2015-11-05 19:29   ` Denys Dmytriyenko
  2015-11-06 21:56     ` Gou, Hongmei
  0 siblings, 1 reply; 5+ messages in thread
From: Denys Dmytriyenko @ 2015-11-05 19:29 UTC (permalink / raw)
  To: Hongmei Gou; +Cc: meta-ti

On Wed, Nov 04, 2015 at 02:53:15PM -0500, Hongmei Gou wrote:
> * 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>
> ---
>  .../libgles/omap5-sgx-ddk-um-linux/ti43x/powervr.ini           |  3 ---
>  recipes-graphics/libgles/omap5-sgx-ddk-um-linux_1.9.0.12.bb    | 10 ++++++++--
>  2 files changed, 8 insertions(+), 5 deletions(-)
>  delete mode 100644 recipes-graphics/libgles/omap5-sgx-ddk-um-linux/ti43x/powervr.ini
> 
> 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
> deleted file mode 100644
> index 0657ab8..0000000
> --- a/recipes-graphics/libgles/omap5-sgx-ddk-um-linux/ti43x/powervr.ini
> +++ /dev/null
> @@ -1,3 +0,0 @@
> -[default]
> -WindowSystem=null_libdrm.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..557c442 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
> @@ -12,14 +12,14 @@ 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_ti43x    = "fdf4c0b594ca142a68aabb4c3f82b75be50b46cc"
>  
>  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"
> @@ -50,8 +50,14 @@ FILES_${PN} +=  "${includedir}/* /usr/share/sgx-lib/"
>  FILES_${PN} += "${sysconfdir}/init.d/pvr-init"
>  FILES_${PN} += "${sysconfdir}/powervr.ini"
>  
> +PACKAGES =+ "${PN}-plugins"
> +FILES_${PN}-plugins = ""

Quick question - have you tried other platforms, like am5, to see if they 
complain about empty ${PN}-plugins package? You may need to set 
ALLOW_EMPTY_${PN}-plugins = "1", if it causes problems.


> +FILES_${PN}-plugins_ti43x = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libpvrws_WAYLAND.so ${libdir}/libpvrws_KMS.so "
> +RDEPENDS_${PN} += "${PN}-plugins"
> +
>  INHIBIT_PACKAGE_STRIP = "1"
>  
>  INSANE_SKIP_${PN} += "dev-so ldflags useless-rpaths"
> +INSANE_SKIP_${PN}-plugins = "dev-so"
>  
>  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] 5+ messages in thread

* Re: [PATCH 2/2] omap5-sgx-ddk-um-linux: bump SRCREV and other changes to support wayland/DRM on AM4
  2015-11-05 19:29   ` Denys Dmytriyenko
@ 2015-11-06 21:56     ` Gou, Hongmei
  0 siblings, 0 replies; 5+ messages in thread
From: Gou, Hongmei @ 2015-11-06 21:56 UTC (permalink / raw)
  To: Dmytriyenko, Denys; +Cc: meta-ti@yoctoproject.org

> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Thursday, November 05, 2015 2:29 PM
> To: Gou, Hongmei
> Cc: meta-ti@yoctoproject.org
> Subject: Re: [meta-ti] [PATCH 2/2] omap5-sgx-ddk-um-linux: bump SRCREV
> and other changes to support wayland/DRM on AM4
> 
> On Wed, Nov 04, 2015 at 02:53:15PM -0500, Hongmei Gou wrote:
> > * 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>
> > ---
> >  .../libgles/omap5-sgx-ddk-um-linux/ti43x/powervr.ini           |  3 ---
> >  recipes-graphics/libgles/omap5-sgx-ddk-um-linux_1.9.0.12.bb    | 10
> ++++++++--
> >  2 files changed, 8 insertions(+), 5 deletions(-)  delete mode 100644
> > recipes-graphics/libgles/omap5-sgx-ddk-um-linux/ti43x/powervr.ini
> >
> > 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
> > deleted file mode 100644
> > index 0657ab8..0000000
> > ---
> > a/recipes-graphics/libgles/omap5-sgx-ddk-um-linux/ti43x/powervr.ini
> > +++ /dev/null
> > @@ -1,3 +0,0 @@
> > -[default]
> > -WindowSystem=null_libdrm.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..557c442 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
> > @@ -12,14 +12,14 @@ 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_ti43x    = "fdf4c0b594ca142a68aabb4c3f82b75be50b46cc"
> >
> >  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"
> > @@ -50,8 +50,14 @@ FILES_${PN} +=  "${includedir}/* /usr/share/sgx-lib/"
> >  FILES_${PN} += "${sysconfdir}/init.d/pvr-init"
> >  FILES_${PN} += "${sysconfdir}/powervr.ini"
> >
> > +PACKAGES =+ "${PN}-plugins"
> > +FILES_${PN}-plugins = ""
> 
> Quick question - have you tried other platforms, like am5, to see if they
> complain about empty ${PN}-plugins package? You may need to set
> ALLOW_EMPTY_${PN}-plugins = "1", if it causes problems.

Thanks for the suggestion. "ALLOW_EMPTY_${PN}-plugins = "1"" is indeed needed for am5. We have submitted the v2 patch with the suggested change.

> 
> 
> > +FILES_${PN}-plugins_ti43x = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so
> ${libdir}/libglslcompiler.so ${libdir}/libpvrws_WAYLAND.so
> ${libdir}/libpvrws_KMS.so "
> > +RDEPENDS_${PN} += "${PN}-plugins"
> > +
> >  INHIBIT_PACKAGE_STRIP = "1"
> >
> >  INSANE_SKIP_${PN} += "dev-so ldflags useless-rpaths"
> > +INSANE_SKIP_${PN}-plugins = "dev-so"
> >
> >  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] 5+ messages in thread

end of thread, other threads:[~2015-11-06 21:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-04 19:53 [PATCH 0/2] Support hardware mode wayland for AM4 Hongmei Gou
2015-11-04 19:53 ` [PATCH 1/2] omapdrm-pvr: disable PVR_NULLDRM to support DRI_DRM " Hongmei Gou
2015-11-04 19:53 ` [PATCH 2/2] omap5-sgx-ddk-um-linux: bump SRCREV and other changes to support wayland/DRM on AM4 Hongmei Gou
2015-11-05 19:29   ` Denys Dmytriyenko
2015-11-06 21:56     ` Gou, Hongmei

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.