All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] mesa: fix imx gallium driver
@ 2019-04-30 11:53 Marco Felsch
  2019-04-30 11:53 ` [PATCH 2/2] mesa: make gallium swrast target optional Marco Felsch
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Marco Felsch @ 2019-04-30 11:53 UTC (permalink / raw)
  To: openembedded-core

Since commit [1] the imx-drm driver is covered by the generic kmsro
driver. Unfortunatly we need to patch the autotools path too since the
switch commit [1] missed some dependencies.

[1] https://gitlab.freedesktop.org/mesa/mesa/commit/ \
	41a0acd6a149ec9f47ea527ad08a2b29bf1ee6b2

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
---
 ...Fix-imx-autotools-build-dependencies.patch | 46 +++++++++++++++++++
 meta/recipes-graphics/mesa/mesa.inc           |  4 +-
 meta/recipes-graphics/mesa/mesa_19.0.1.bb     |  1 +
 3 files changed, 49 insertions(+), 2 deletions(-)
 create mode 100644 meta/recipes-graphics/mesa/files/0005-Fix-imx-autotools-build-dependencies.patch

diff --git a/meta/recipes-graphics/mesa/files/0005-Fix-imx-autotools-build-dependencies.patch b/meta/recipes-graphics/mesa/files/0005-Fix-imx-autotools-build-dependencies.patch
new file mode 100644
index 0000000000..6cefe70bd8
--- /dev/null
+++ b/meta/recipes-graphics/mesa/files/0005-Fix-imx-autotools-build-dependencies.patch
@@ -0,0 +1,46 @@
+From 3e2aeab89fdbd0572d635d3a57a54f3fb99af254 Mon Sep 17 00:00:00 2001
+From: Marco Felsch <m.felsch@pengutronix.de>
+Date: Tue, 30 Apr 2019 09:45:26 +0200
+Subject: [PATCH] Fix imx autotools build dependencies
+
+Since commit 41a0acd6 ("Switch imx to kmsro and remove the imx winsys")
+the imx-drm is covered by kmsro. During the switch some autotools
+dependencies are missed. Autotools are marked as deprecated but since
+yocto still uses them we need to cover this.
+
+Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
+---
+ configure.ac                           | 4 ++--
+ src/gallium/drivers/kmsro/Automake.inc | 1 +
+ 2 files changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 1ef68fe68e6..1623976ab5c 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -2861,8 +2861,8 @@ AM_CONDITIONAL(HAVE_SWR_BUILTIN, test "x$HAVE_SWR_BUILTIN" = xyes)
+ 
+ dnl We need to validate some needed dependencies for renderonly drivers.
+ 
+-if test "x$HAVE_GALLIUM_VC4" != xyes -a "x$HAVE_GALLIUM_KMSRO" = xyes  ; then
+-    AC_MSG_ERROR([Building with kmsro requires vc4])
++if test "x$HAVE_GALLIUM_VC4" != xyes -a "x$HAVE_GALLIUM_ETNAVIV" != xyes -a "x$HAVE_GALLIUM_KMSRO" = xyes  ; then
++    AC_MSG_ERROR([Building with kmsro requires vc4 or etnaviv])
+ fi
+ 
+ if test "x$HAVE_GALLIUM_NOUVEAU" != xyes -a "x$HAVE_GALLIUM_TEGRA" = xyes; then
+diff --git a/src/gallium/drivers/kmsro/Automake.inc b/src/gallium/drivers/kmsro/Automake.inc
+index d5961c90765..ebed42408c2 100644
+--- a/src/gallium/drivers/kmsro/Automake.inc
++++ b/src/gallium/drivers/kmsro/Automake.inc
+@@ -2,6 +2,7 @@ if HAVE_GALLIUM_KMSRO
+ 
+ TARGET_DRIVERS += pl111
+ TARGET_DRIVERS += hx8357d
++TARGET_DRIVERS += imx-drm
+ TARGET_CPPFLAGS += -DGALLIUM_KMSRO
+ TARGET_LIB_DEPS += \
+     $(top_builddir)/src/gallium/winsys/kmsro/drm/libkmsrodrm.la \
+-- 
+2.20.1
+
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index ece74974b5..b3339dce33 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -87,11 +87,11 @@ PACKAGECONFIG[gles] = "--enable-gles1 --enable-gles2, --disable-gles1 --disable-
 PACKAGECONFIG[egl] = "--enable-egl, --disable-egl"
 
 PACKAGECONFIG[etnaviv] = ""
-PACKAGECONFIG[imx] = ""
+PACKAGECONFIG[kmsro] = ""
 
 GALLIUMDRIVERS = "swrast"
 GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'etnaviv', ',etnaviv', '', d)}"
-GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'imx', ',imx', '', d)}"
+GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'kmsro', ',kmsro', '', d)}"
 
 # radeonsi requires LLVM
 GALLIUMDRIVERS_LLVM33 = "${@bb.utils.contains('PACKAGECONFIG', 'r600', ',radeonsi', '', d)}"
diff --git a/meta/recipes-graphics/mesa/mesa_19.0.1.bb b/meta/recipes-graphics/mesa/mesa_19.0.1.bb
index d90be8a074..753fd5328a 100644
--- a/meta/recipes-graphics/mesa/mesa_19.0.1.bb
+++ b/meta/recipes-graphics/mesa/mesa_19.0.1.bb
@@ -5,6 +5,7 @@ SRC_URI = "https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \
            file://0002-winsys-svga-drm-Include-sys-types.h.patch \
            file://0003-Properly-get-LLVM-version-when-using-LLVM-Git-releas.patch \
            file://0004-use-PKG_CHECK_VAR-for-defining-WAYLAND_PROTOCOLS_DAT.patch \
+           file://0005-Fix-imx-autotools-build-dependencies.patch \
 "
 
 SRC_URI[md5sum] = "19636bb3da35c21f43040d31e575d5ce"
-- 
2.20.1



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

* [PATCH 2/2] mesa: make gallium swrast target optional
  2019-04-30 11:53 [PATCH 1/2] mesa: fix imx gallium driver Marco Felsch
@ 2019-04-30 11:53 ` Marco Felsch
  2019-04-30 13:56   ` Alexander Kanavin
  2019-04-30 12:18 ` [PATCH 1/2] mesa: fix imx gallium driver Alexander Kanavin
  2019-04-30 14:11 ` Richard Purdie
  2 siblings, 1 reply; 9+ messages in thread
From: Marco Felsch @ 2019-04-30 11:53 UTC (permalink / raw)
  To: openembedded-core

Most the time we are compiling for embedded targets which have dedicated
hardware combinations. Setting swrast default on isn't a good solution
for such devices because if the hardware render node have an issue or
don't support a special format/request mesa will fallback to the software
renderer. This will make it harder to debug performace issues.

A better way is to let the user deciced if a software renderer is
needed e.g. if the system has no hardware renderer or to have such a
fallback device. This way the user knows that the software renderer is
enabled.

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
---
 meta/recipes-graphics/mesa/mesa.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index b3339dce33..55733585af 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -88,8 +88,10 @@ PACKAGECONFIG[egl] = "--enable-egl, --disable-egl"
 
 PACKAGECONFIG[etnaviv] = ""
 PACKAGECONFIG[kmsro] = ""
+PACKAGECONFIG[swrast] = ""
 
-GALLIUMDRIVERS = "swrast"
+GALLIUMDRIVERS = ""
+GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'swrast', ',swrast', '', d)}"
 GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'etnaviv', ',etnaviv', '', d)}"
 GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'kmsro', ',kmsro', '', d)}"
 
-- 
2.20.1



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

* Re: [PATCH 1/2] mesa: fix imx gallium driver
  2019-04-30 11:53 [PATCH 1/2] mesa: fix imx gallium driver Marco Felsch
  2019-04-30 11:53 ` [PATCH 2/2] mesa: make gallium swrast target optional Marco Felsch
@ 2019-04-30 12:18 ` Alexander Kanavin
  2019-04-30 12:27   ` Marco Felsch
  2019-04-30 14:11 ` Richard Purdie
  2 siblings, 1 reply; 9+ messages in thread
From: Alexander Kanavin @ 2019-04-30 12:18 UTC (permalink / raw)
  To: Marco Felsch; +Cc: OE-core

Autotools is indeed deprecated, and we are trying to switch to meson
now. Rather than continue to fix autotools, can you try to help us
with meson please? The latest iteration of the patch should be in the
archives.

Alex


On Tue, 30 Apr 2019 at 14:10, Marco Felsch <m.felsch@pengutronix.de> wrote:
>
> Since commit [1] the imx-drm driver is covered by the generic kmsro
> driver. Unfortunatly we need to patch the autotools path too since the
> switch commit [1] missed some dependencies.
>
> [1] https://gitlab.freedesktop.org/mesa/mesa/commit/ \
>         41a0acd6a149ec9f47ea527ad08a2b29bf1ee6b2
>
> Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
> ---
>  ...Fix-imx-autotools-build-dependencies.patch | 46 +++++++++++++++++++
>  meta/recipes-graphics/mesa/mesa.inc           |  4 +-
>  meta/recipes-graphics/mesa/mesa_19.0.1.bb     |  1 +
>  3 files changed, 49 insertions(+), 2 deletions(-)
>  create mode 100644 meta/recipes-graphics/mesa/files/0005-Fix-imx-autotools-build-dependencies.patch
>
> diff --git a/meta/recipes-graphics/mesa/files/0005-Fix-imx-autotools-build-dependencies.patch b/meta/recipes-graphics/mesa/files/0005-Fix-imx-autotools-build-dependencies.patch
> new file mode 100644
> index 0000000000..6cefe70bd8
> --- /dev/null
> +++ b/meta/recipes-graphics/mesa/files/0005-Fix-imx-autotools-build-dependencies.patch
> @@ -0,0 +1,46 @@
> +From 3e2aeab89fdbd0572d635d3a57a54f3fb99af254 Mon Sep 17 00:00:00 2001
> +From: Marco Felsch <m.felsch@pengutronix.de>
> +Date: Tue, 30 Apr 2019 09:45:26 +0200
> +Subject: [PATCH] Fix imx autotools build dependencies
> +
> +Since commit 41a0acd6 ("Switch imx to kmsro and remove the imx winsys")
> +the imx-drm is covered by kmsro. During the switch some autotools
> +dependencies are missed. Autotools are marked as deprecated but since
> +yocto still uses them we need to cover this.
> +
> +Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
> +---
> + configure.ac                           | 4 ++--
> + src/gallium/drivers/kmsro/Automake.inc | 1 +
> + 2 files changed, 3 insertions(+), 2 deletions(-)
> +
> +diff --git a/configure.ac b/configure.ac
> +index 1ef68fe68e6..1623976ab5c 100644
> +--- a/configure.ac
> ++++ b/configure.ac
> +@@ -2861,8 +2861,8 @@ AM_CONDITIONAL(HAVE_SWR_BUILTIN, test "x$HAVE_SWR_BUILTIN" = xyes)
> +
> + dnl We need to validate some needed dependencies for renderonly drivers.
> +
> +-if test "x$HAVE_GALLIUM_VC4" != xyes -a "x$HAVE_GALLIUM_KMSRO" = xyes  ; then
> +-    AC_MSG_ERROR([Building with kmsro requires vc4])
> ++if test "x$HAVE_GALLIUM_VC4" != xyes -a "x$HAVE_GALLIUM_ETNAVIV" != xyes -a "x$HAVE_GALLIUM_KMSRO" = xyes  ; then
> ++    AC_MSG_ERROR([Building with kmsro requires vc4 or etnaviv])
> + fi
> +
> + if test "x$HAVE_GALLIUM_NOUVEAU" != xyes -a "x$HAVE_GALLIUM_TEGRA" = xyes; then
> +diff --git a/src/gallium/drivers/kmsro/Automake.inc b/src/gallium/drivers/kmsro/Automake.inc
> +index d5961c90765..ebed42408c2 100644
> +--- a/src/gallium/drivers/kmsro/Automake.inc
> ++++ b/src/gallium/drivers/kmsro/Automake.inc
> +@@ -2,6 +2,7 @@ if HAVE_GALLIUM_KMSRO
> +
> + TARGET_DRIVERS += pl111
> + TARGET_DRIVERS += hx8357d
> ++TARGET_DRIVERS += imx-drm
> + TARGET_CPPFLAGS += -DGALLIUM_KMSRO
> + TARGET_LIB_DEPS += \
> +     $(top_builddir)/src/gallium/winsys/kmsro/drm/libkmsrodrm.la \
> +--
> +2.20.1
> +
> diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
> index ece74974b5..b3339dce33 100644
> --- a/meta/recipes-graphics/mesa/mesa.inc
> +++ b/meta/recipes-graphics/mesa/mesa.inc
> @@ -87,11 +87,11 @@ PACKAGECONFIG[gles] = "--enable-gles1 --enable-gles2, --disable-gles1 --disable-
>  PACKAGECONFIG[egl] = "--enable-egl, --disable-egl"
>
>  PACKAGECONFIG[etnaviv] = ""
> -PACKAGECONFIG[imx] = ""
> +PACKAGECONFIG[kmsro] = ""
>
>  GALLIUMDRIVERS = "swrast"
>  GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'etnaviv', ',etnaviv', '', d)}"
> -GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'imx', ',imx', '', d)}"
> +GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'kmsro', ',kmsro', '', d)}"
>
>  # radeonsi requires LLVM
>  GALLIUMDRIVERS_LLVM33 = "${@bb.utils.contains('PACKAGECONFIG', 'r600', ',radeonsi', '', d)}"
> diff --git a/meta/recipes-graphics/mesa/mesa_19.0.1.bb b/meta/recipes-graphics/mesa/mesa_19.0.1.bb
> index d90be8a074..753fd5328a 100644
> --- a/meta/recipes-graphics/mesa/mesa_19.0.1.bb
> +++ b/meta/recipes-graphics/mesa/mesa_19.0.1.bb
> @@ -5,6 +5,7 @@ SRC_URI = "https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \
>             file://0002-winsys-svga-drm-Include-sys-types.h.patch \
>             file://0003-Properly-get-LLVM-version-when-using-LLVM-Git-releas.patch \
>             file://0004-use-PKG_CHECK_VAR-for-defining-WAYLAND_PROTOCOLS_DAT.patch \
> +           file://0005-Fix-imx-autotools-build-dependencies.patch \
>  "
>
>  SRC_URI[md5sum] = "19636bb3da35c21f43040d31e575d5ce"
> --
> 2.20.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


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

* Re: [PATCH 1/2] mesa: fix imx gallium driver
  2019-04-30 12:18 ` [PATCH 1/2] mesa: fix imx gallium driver Alexander Kanavin
@ 2019-04-30 12:27   ` Marco Felsch
  0 siblings, 0 replies; 9+ messages in thread
From: Marco Felsch @ 2019-04-30 12:27 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: OE-core

Hi Alex,

On 19-04-30 14:18, Alexander Kanavin wrote:
> Autotools is indeed deprecated, and we are trying to switch to meson
> now. Rather than continue to fix autotools, can you try to help us
> with meson please? The latest iteration of the patch should be in the
> archives.

Of course, let me see if I have some time this week. I know that the
autotools path is deprecated but can you apply this patch since it is
broken in yocto since switching to 19.0.0.

Regards,
  Marco

> Alex
> 
> 
> On Tue, 30 Apr 2019 at 14:10, Marco Felsch <m.felsch@pengutronix.de> wrote:
> >
> > Since commit [1] the imx-drm driver is covered by the generic kmsro
> > driver. Unfortunatly we need to patch the autotools path too since the
> > switch commit [1] missed some dependencies.
> >
> > [1] https://gitlab.freedesktop.org/mesa/mesa/commit/ \
> >         41a0acd6a149ec9f47ea527ad08a2b29bf1ee6b2
> >
> > Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
> > ---
> >  ...Fix-imx-autotools-build-dependencies.patch | 46 +++++++++++++++++++
> >  meta/recipes-graphics/mesa/mesa.inc           |  4 +-
> >  meta/recipes-graphics/mesa/mesa_19.0.1.bb     |  1 +
> >  3 files changed, 49 insertions(+), 2 deletions(-)
> >  create mode 100644 meta/recipes-graphics/mesa/files/0005-Fix-imx-autotools-build-dependencies.patch
> >
> > diff --git a/meta/recipes-graphics/mesa/files/0005-Fix-imx-autotools-build-dependencies.patch b/meta/recipes-graphics/mesa/files/0005-Fix-imx-autotools-build-dependencies.patch
> > new file mode 100644
> > index 0000000000..6cefe70bd8
> > --- /dev/null
> > +++ b/meta/recipes-graphics/mesa/files/0005-Fix-imx-autotools-build-dependencies.patch
> > @@ -0,0 +1,46 @@
> > +From 3e2aeab89fdbd0572d635d3a57a54f3fb99af254 Mon Sep 17 00:00:00 2001
> > +From: Marco Felsch <m.felsch@pengutronix.de>
> > +Date: Tue, 30 Apr 2019 09:45:26 +0200
> > +Subject: [PATCH] Fix imx autotools build dependencies
> > +
> > +Since commit 41a0acd6 ("Switch imx to kmsro and remove the imx winsys")
> > +the imx-drm is covered by kmsro. During the switch some autotools
> > +dependencies are missed. Autotools are marked as deprecated but since
> > +yocto still uses them we need to cover this.
> > +
> > +Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
> > +---
> > + configure.ac                           | 4 ++--
> > + src/gallium/drivers/kmsro/Automake.inc | 1 +
> > + 2 files changed, 3 insertions(+), 2 deletions(-)
> > +
> > +diff --git a/configure.ac b/configure.ac
> > +index 1ef68fe68e6..1623976ab5c 100644
> > +--- a/configure.ac
> > ++++ b/configure.ac
> > +@@ -2861,8 +2861,8 @@ AM_CONDITIONAL(HAVE_SWR_BUILTIN, test "x$HAVE_SWR_BUILTIN" = xyes)
> > +
> > + dnl We need to validate some needed dependencies for renderonly drivers.
> > +
> > +-if test "x$HAVE_GALLIUM_VC4" != xyes -a "x$HAVE_GALLIUM_KMSRO" = xyes  ; then
> > +-    AC_MSG_ERROR([Building with kmsro requires vc4])
> > ++if test "x$HAVE_GALLIUM_VC4" != xyes -a "x$HAVE_GALLIUM_ETNAVIV" != xyes -a "x$HAVE_GALLIUM_KMSRO" = xyes  ; then
> > ++    AC_MSG_ERROR([Building with kmsro requires vc4 or etnaviv])
> > + fi
> > +
> > + if test "x$HAVE_GALLIUM_NOUVEAU" != xyes -a "x$HAVE_GALLIUM_TEGRA" = xyes; then
> > +diff --git a/src/gallium/drivers/kmsro/Automake.inc b/src/gallium/drivers/kmsro/Automake.inc
> > +index d5961c90765..ebed42408c2 100644
> > +--- a/src/gallium/drivers/kmsro/Automake.inc
> > ++++ b/src/gallium/drivers/kmsro/Automake.inc
> > +@@ -2,6 +2,7 @@ if HAVE_GALLIUM_KMSRO
> > +
> > + TARGET_DRIVERS += pl111
> > + TARGET_DRIVERS += hx8357d
> > ++TARGET_DRIVERS += imx-drm
> > + TARGET_CPPFLAGS += -DGALLIUM_KMSRO
> > + TARGET_LIB_DEPS += \
> > +     $(top_builddir)/src/gallium/winsys/kmsro/drm/libkmsrodrm.la \
> > +--
> > +2.20.1
> > +
> > diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
> > index ece74974b5..b3339dce33 100644
> > --- a/meta/recipes-graphics/mesa/mesa.inc
> > +++ b/meta/recipes-graphics/mesa/mesa.inc
> > @@ -87,11 +87,11 @@ PACKAGECONFIG[gles] = "--enable-gles1 --enable-gles2, --disable-gles1 --disable-
> >  PACKAGECONFIG[egl] = "--enable-egl, --disable-egl"
> >
> >  PACKAGECONFIG[etnaviv] = ""
> > -PACKAGECONFIG[imx] = ""
> > +PACKAGECONFIG[kmsro] = ""
> >
> >  GALLIUMDRIVERS = "swrast"
> >  GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'etnaviv', ',etnaviv', '', d)}"
> > -GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'imx', ',imx', '', d)}"
> > +GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'kmsro', ',kmsro', '', d)}"
> >
> >  # radeonsi requires LLVM
> >  GALLIUMDRIVERS_LLVM33 = "${@bb.utils.contains('PACKAGECONFIG', 'r600', ',radeonsi', '', d)}"
> > diff --git a/meta/recipes-graphics/mesa/mesa_19.0.1.bb b/meta/recipes-graphics/mesa/mesa_19.0.1.bb
> > index d90be8a074..753fd5328a 100644
> > --- a/meta/recipes-graphics/mesa/mesa_19.0.1.bb
> > +++ b/meta/recipes-graphics/mesa/mesa_19.0.1.bb
> > @@ -5,6 +5,7 @@ SRC_URI = "https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \
> >             file://0002-winsys-svga-drm-Include-sys-types.h.patch \
> >             file://0003-Properly-get-LLVM-version-when-using-LLVM-Git-releas.patch \
> >             file://0004-use-PKG_CHECK_VAR-for-defining-WAYLAND_PROTOCOLS_DAT.patch \
> > +           file://0005-Fix-imx-autotools-build-dependencies.patch \
> >  "
> >
> >  SRC_URI[md5sum] = "19636bb3da35c21f43040d31e575d5ce"
> > --
> > 2.20.1
> >
> > --
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-core
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |


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

* Re: [PATCH 2/2] mesa: make gallium swrast target optional
  2019-04-30 11:53 ` [PATCH 2/2] mesa: make gallium swrast target optional Marco Felsch
@ 2019-04-30 13:56   ` Alexander Kanavin
  2019-04-30 14:22     ` Marco Felsch
  0 siblings, 1 reply; 9+ messages in thread
From: Alexander Kanavin @ 2019-04-30 13:56 UTC (permalink / raw)
  To: Marco Felsch; +Cc: OE-core

On Tue, 30 Apr 2019 at 14:10, Marco Felsch <m.felsch@pengutronix.de> wrote:
> -GALLIUMDRIVERS = "swrast"
> +GALLIUMDRIVERS = ""
> +GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'swrast', ',swrast', '', d)}"
>  GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'etnaviv', ',etnaviv', '', d)}"
>  GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'kmsro', ',kmsro', '', d)}"

This adds a leading , to the list of drivers; is that correctly handled?

Alex


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

* Re: [PATCH 1/2] mesa: fix imx gallium driver
  2019-04-30 11:53 [PATCH 1/2] mesa: fix imx gallium driver Marco Felsch
  2019-04-30 11:53 ` [PATCH 2/2] mesa: make gallium swrast target optional Marco Felsch
  2019-04-30 12:18 ` [PATCH 1/2] mesa: fix imx gallium driver Alexander Kanavin
@ 2019-04-30 14:11 ` Richard Purdie
  2019-04-30 14:19   ` Marco Felsch
  2 siblings, 1 reply; 9+ messages in thread
From: Richard Purdie @ 2019-04-30 14:11 UTC (permalink / raw)
  To: Marco Felsch, openembedded-core

On Tue, 2019-04-30 at 13:53 +0200, Marco Felsch wrote:
> Since commit [1] the imx-drm driver is covered by the generic kmsro
> driver. Unfortunatly we need to patch the autotools path too since
> the
> switch commit [1] missed some dependencies.
> 
> [1] https://gitlab.freedesktop.org/mesa/mesa/commit/ \
> 	41a0acd6a149ec9f47ea527ad08a2b29bf1ee6b2
> 
> Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
> ---
>  ...Fix-imx-autotools-build-dependencies.patch | 46
> +++++++++++++++++++
>  meta/recipes-graphics/mesa/mesa.inc           |  4 +-
>  meta/recipes-graphics/mesa/mesa_19.0.1.bb     |  1 +
>  3 files changed, 49 insertions(+), 2 deletions(-)
>  create mode 100644 meta/recipes-graphics/mesa/files/0005-Fix-imx-
> autotools-build-dependencies.patch
> 
> diff --git a/meta/recipes-graphics/mesa/files/0005-Fix-imx-autotools-
> build-dependencies.patch b/meta/recipes-graphics/mesa/files/0005-Fix-
> imx-autotools-build-dependencies.patch
> new file mode 100644
> index 0000000000..6cefe70bd8
> --- /dev/null
> +++ b/meta/recipes-graphics/mesa/files/0005-Fix-imx-autotools-build-
> dependencies.patch
> @@ -0,0 +1,46 @@
> +From 3e2aeab89fdbd0572d635d3a57a54f3fb99af254 Mon Sep 17 00:00:00
> 2001
> +From: Marco Felsch <m.felsch@pengutronix.de>
> +Date: Tue, 30 Apr 2019 09:45:26 +0200
> +Subject: [PATCH] Fix imx autotools build dependencies
> +
> +Since commit 41a0acd6 ("Switch imx to kmsro and remove the imx
> winsys")
> +the imx-drm is covered by kmsro. During the switch some autotools
> +dependencies are missed. Autotools are marked as deprecated but
> since
> +yocto still uses them we need to cover this.
> +
> +Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>

The patch is missing an Upstream-Status: line.

Cheers,

Richard



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

* Re: [PATCH 1/2] mesa: fix imx gallium driver
  2019-04-30 14:11 ` Richard Purdie
@ 2019-04-30 14:19   ` Marco Felsch
  2019-04-30 14:36     ` Alexander Kanavin
  0 siblings, 1 reply; 9+ messages in thread
From: Marco Felsch @ 2019-04-30 14:19 UTC (permalink / raw)
  To: Richard Purdie; +Cc: openembedded-core

On 19-04-30 15:11, Richard Purdie wrote:
> On Tue, 2019-04-30 at 13:53 +0200, Marco Felsch wrote:
> > Since commit [1] the imx-drm driver is covered by the generic kmsro
> > driver. Unfortunatly we need to patch the autotools path too since
> > the
> > switch commit [1] missed some dependencies.
> > 
> > [1] https://gitlab.freedesktop.org/mesa/mesa/commit/ \
> > 	41a0acd6a149ec9f47ea527ad08a2b29bf1ee6b2
> > 
> > Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
> > ---
> >  ...Fix-imx-autotools-build-dependencies.patch | 46
> > +++++++++++++++++++
> >  meta/recipes-graphics/mesa/mesa.inc           |  4 +-
> >  meta/recipes-graphics/mesa/mesa_19.0.1.bb     |  1 +
> >  3 files changed, 49 insertions(+), 2 deletions(-)
> >  create mode 100644 meta/recipes-graphics/mesa/files/0005-Fix-imx-
> > autotools-build-dependencies.patch
> > 
> > diff --git a/meta/recipes-graphics/mesa/files/0005-Fix-imx-autotools-
> > build-dependencies.patch b/meta/recipes-graphics/mesa/files/0005-Fix-
> > imx-autotools-build-dependencies.patch
> > new file mode 100644
> > index 0000000000..6cefe70bd8
> > --- /dev/null
> > +++ b/meta/recipes-graphics/mesa/files/0005-Fix-imx-autotools-build-
> > dependencies.patch
> > @@ -0,0 +1,46 @@
> > +From 3e2aeab89fdbd0572d635d3a57a54f3fb99af254 Mon Sep 17 00:00:00
> > 2001
> > +From: Marco Felsch <m.felsch@pengutronix.de>
> > +Date: Tue, 30 Apr 2019 09:45:26 +0200
> > +Subject: [PATCH] Fix imx autotools build dependencies
> > +
> > +Since commit 41a0acd6 ("Switch imx to kmsro and remove the imx
> > winsys")
> > +the imx-drm is covered by kmsro. During the switch some autotools
> > +dependencies are missed. Autotools are marked as deprecated but
> > since
> > +yocto still uses them we need to cover this.
> > +
> > +Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
> 
> The patch is missing an Upstream-Status: line.

Sorry, it is my first patch for the oe-core community. What did I
forgot?

Regards,
  Marco

> Cheers,
> 
> Richard
> 
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |


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

* Re: [PATCH 2/2] mesa: make gallium swrast target optional
  2019-04-30 13:56   ` Alexander Kanavin
@ 2019-04-30 14:22     ` Marco Felsch
  0 siblings, 0 replies; 9+ messages in thread
From: Marco Felsch @ 2019-04-30 14:22 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: OE-core

On 19-04-30 15:56, Alexander Kanavin wrote:
> On Tue, 30 Apr 2019 at 14:10, Marco Felsch <m.felsch@pengutronix.de> wrote:
> > -GALLIUMDRIVERS = "swrast"
> > +GALLIUMDRIVERS = ""
> > +GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'swrast', ',swrast', '', d)}"
> >  GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'etnaviv', ',etnaviv', '', d)}"
> >  GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'kmsro', ',kmsro', '', d)}"
> 
> This adds a leading , to the list of drivers; is that correctly handled?

Sorry it seems that it was a copy'n'paste failure. This should be
fixed..

Regards,
  Marco

> 
> Alex
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |


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

* Re: [PATCH 1/2] mesa: fix imx gallium driver
  2019-04-30 14:19   ` Marco Felsch
@ 2019-04-30 14:36     ` Alexander Kanavin
  0 siblings, 0 replies; 9+ messages in thread
From: Alexander Kanavin @ 2019-04-30 14:36 UTC (permalink / raw)
  To: Marco Felsch; +Cc: OE-core

Info is here:
https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines#Patch_Header_Recommendations:_Upstream-Status

Alex

On Tue, 30 Apr 2019 at 16:19, Marco Felsch <m.felsch@pengutronix.de> wrote:
>
> On 19-04-30 15:11, Richard Purdie wrote:
> > On Tue, 2019-04-30 at 13:53 +0200, Marco Felsch wrote:
> > > Since commit [1] the imx-drm driver is covered by the generic kmsro
> > > driver. Unfortunatly we need to patch the autotools path too since
> > > the
> > > switch commit [1] missed some dependencies.
> > >
> > > [1] https://gitlab.freedesktop.org/mesa/mesa/commit/ \
> > >     41a0acd6a149ec9f47ea527ad08a2b29bf1ee6b2
> > >
> > > Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
> > > ---
> > >  ...Fix-imx-autotools-build-dependencies.patch | 46
> > > +++++++++++++++++++
> > >  meta/recipes-graphics/mesa/mesa.inc           |  4 +-
> > >  meta/recipes-graphics/mesa/mesa_19.0.1.bb     |  1 +
> > >  3 files changed, 49 insertions(+), 2 deletions(-)
> > >  create mode 100644 meta/recipes-graphics/mesa/files/0005-Fix-imx-
> > > autotools-build-dependencies.patch
> > >
> > > diff --git a/meta/recipes-graphics/mesa/files/0005-Fix-imx-autotools-
> > > build-dependencies.patch b/meta/recipes-graphics/mesa/files/0005-Fix-
> > > imx-autotools-build-dependencies.patch
> > > new file mode 100644
> > > index 0000000000..6cefe70bd8
> > > --- /dev/null
> > > +++ b/meta/recipes-graphics/mesa/files/0005-Fix-imx-autotools-build-
> > > dependencies.patch
> > > @@ -0,0 +1,46 @@
> > > +From 3e2aeab89fdbd0572d635d3a57a54f3fb99af254 Mon Sep 17 00:00:00
> > > 2001
> > > +From: Marco Felsch <m.felsch@pengutronix.de>
> > > +Date: Tue, 30 Apr 2019 09:45:26 +0200
> > > +Subject: [PATCH] Fix imx autotools build dependencies
> > > +
> > > +Since commit 41a0acd6 ("Switch imx to kmsro and remove the imx
> > > winsys")
> > > +the imx-drm is covered by kmsro. During the switch some autotools
> > > +dependencies are missed. Autotools are marked as deprecated but
> > > since
> > > +yocto still uses them we need to cover this.
> > > +
> > > +Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
> >
> > The patch is missing an Upstream-Status: line.
>
> Sorry, it is my first patch for the oe-core community. What did I
> forgot?
>
> Regards,
>   Marco
>
> > Cheers,
> >
> > Richard
> >
> >
>
> --
> Pengutronix e.K.                           |                             |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


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

end of thread, other threads:[~2019-04-30 14:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-30 11:53 [PATCH 1/2] mesa: fix imx gallium driver Marco Felsch
2019-04-30 11:53 ` [PATCH 2/2] mesa: make gallium swrast target optional Marco Felsch
2019-04-30 13:56   ` Alexander Kanavin
2019-04-30 14:22     ` Marco Felsch
2019-04-30 12:18 ` [PATCH 1/2] mesa: fix imx gallium driver Alexander Kanavin
2019-04-30 12:27   ` Marco Felsch
2019-04-30 14:11 ` Richard Purdie
2019-04-30 14:19   ` Marco Felsch
2019-04-30 14:36     ` Alexander Kanavin

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.