Re: [OE-core] [oe-core][Patch][jethro] xf86-video-modesetting: Require sufficiently new libdrm

2016-03-07 Thread Johannes Pointner
Sure, I'll send a patch for master.
Furthermore, I'll send a second version of this one, because I just
saw that I messed up the file mode of the patch file.

2016-03-07 17:00 GMT+01:00 Burton, Ross :
>
> On 7 March 2016 at 14:50, Johannes Pointner  wrote:
>>
>> The reason I thought this patch wouldn't be needed for master is that
>> it was included in xserver 1.18.1 and master is already on xserver
>> 1.18.0.
>> Do you know if it is planned to switch to the newer 1.18.1 version?
>
>
> No, we're upstream version frozen now, so this is appropriate for master
> too.  Patches for stable branches should be applied to master first, so can
> you also prepare a patch for the master branch too?
>
> Ross
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [oe-core][Patch][jethro] xf86-video-modesetting: Require sufficiently new libdrm

2016-03-07 Thread Burton, Ross
On 7 March 2016 at 14:50, Johannes Pointner  wrote:

> The reason I thought this patch wouldn't be needed for master is that
> it was included in xserver 1.18.1 and master is already on xserver
> 1.18.0.
> Do you know if it is planned to switch to the newer 1.18.1 version?
>

No, we're upstream version frozen now, so this is appropriate for master
too.  Patches for stable branches should be applied to master first, so can
you also prepare a patch for the master branch too?

Ross
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [oe-core][Patch][jethro] xf86-video-modesetting: Require sufficiently new libdrm

2016-03-07 Thread Johannes Pointner
The reason I thought this patch wouldn't be needed for master is that
it was included in xserver 1.18.1 and master is already on xserver
1.18.0.
Do you know if it is planned to switch to the newer 1.18.1 version?

2016-03-07 15:02 GMT+01:00 Burton, Ross :
>
> On 1 March 2016 at 20:12, Johannes Pointner  wrote:
>>
>> This fixes the check of the libdrm version in the configure script.
>
>
> For patches to stable branches please explain why this isn't also required
> to be applied to master.
>
> Ross
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [oe-core][Patch][jethro] xf86-video-modesetting: Require sufficiently new libdrm

2016-03-07 Thread Burton, Ross
On 1 March 2016 at 20:12, Johannes Pointner  wrote:

> This fixes the check of the libdrm version in the configure script.
>

For patches to stable branches please explain why this isn't also required
to be applied to master.

Ross
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [oe-core][Patch][jethro] xf86-video-modesetting: Require sufficiently new libdrm

2016-03-01 Thread Johannes Pointner
This fixes the check of the libdrm version in the configure script.

Signed-off-by: Johannes Pointner 
---
 .../0002-modesetting_libdrm_requirements.patch | 29 ++
 .../xorg-xserver/xserver-xorg_1.17.2.bb|  1 +
 2 files changed, 30 insertions(+)
 create mode 100755 
meta/recipes-graphics/xorg-xserver/xserver-xorg/0002-modesetting_libdrm_requirements.patch

diff --git 
a/meta/recipes-graphics/xorg-xserver/xserver-xorg/0002-modesetting_libdrm_requirements.patch
 
b/meta/recipes-graphics/xorg-xserver/xserver-xorg/0002-modesetting_libdrm_requirements.patch
new file mode 100755
index 000..22b7e6f
--- /dev/null
+++ 
b/meta/recipes-graphics/xorg-xserver/xserver-xorg/0002-modesetting_libdrm_requirements.patch
@@ -0,0 +1,29 @@
+From bf23db42a4e5943129501223a47b48884cdeb62f Mon Sep 17 00:00:00 2001
+From: Adam Jackson 
+Date: Wed, 27 Jan 2016 11:50:13 -0500
+Subject: modesetting: Require sufficiently new libdrm
+
+Bugzilla: https://bugs.freedesktop.org/93883
+Signed-off-by: Adam Jackson 
+Reviewed-by: Alex Deucher 
+Reviewed-by: Julien Cristau 
+
+Upstream-Status: Backport
+
+diff --git a/configure.ac b/configure.ac
+index ac3bb64..312fc69 100644
+--- a/configure.ac
 b/configure.ac
+@@ -2035,8 +2035,7 @@ if test "x$XORG" = xyes; then
+ 
+   if test "x$DRM" = xyes; then
+   dnl 2.4.46 is required for cursor hotspot support.
+-  PKG_CHECK_EXISTS(libdrm >= 2.4.46)
+-  XORG_DRIVER_MODESETTING=yes
++  PKG_CHECK_EXISTS(libdrm >= 2.4.46, XORG_DRIVER_MODESETTING=yes, 
XORG_DRIVER_MODESETTING=no)
+   fi
+ 
+   AC_SUBST([XORG_LIBS])
+-- 
+cgit v0.10.2
+
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.17.2.bb 
b/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.17.2.bb
index 3039d30..f087ecb 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.17.2.bb
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.17.2.bb
@@ -1,6 +1,7 @@
 require xserver-xorg.inc
 
 SRC_URI += "file://0001-use-__GLIBC__-guard-for-glibc-specific-code.patch \
+   file://0002-modesetting_libdrm_requirements.patch \
"
 SRC_URI[md5sum] = "397e405566651150490ff493e463f1ad"
 SRC_URI[sha256sum] = 
"f61120612728f2c5034671d0ca3e2273438c60aba93b3dda4a8aa40e6a257993"
-- 
2.7.2

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core