summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xorg-driver/xf86-video-intel/udev-fstat.patch
diff options
context:
space:
mode:
authorJussi Kukkonen <jussi.kukkonen@intel.com>2016-10-04 10:17:27 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-10-05 10:10:11 +0100
commitf63e8d2dcb2eed6592d6f90d154afd319335c5c8 (patch)
tree1390ec58964c2def8a0231d93492e7283dff41c5 /meta/recipes-graphics/xorg-driver/xf86-video-intel/udev-fstat.patch
parent28ffbd4e560fccb6e8eb24dc735c0838e9bc7d39 (diff)
downloadpoky-f63e8d2dcb2eed6592d6f90d154afd319335c5c8.tar.gz
xf86-video-intel: Upgrade to recent git
Upgrade from the latest snapshot to a recent git revision. Without this xvideo does not work on skylake: Backporting the specific fixes turned out to be too complex. Remove patches that are in upstream already, rebase disable-x11-dri3.patch. Fixes [YOCTO #10041] (From OE-Core rev: 1e295903c89630d5813a0d924a3da47b52f377ac) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/xorg-driver/xf86-video-intel/udev-fstat.patch')
-rw-r--r--meta/recipes-graphics/xorg-driver/xf86-video-intel/udev-fstat.patch59
1 files changed, 0 insertions, 59 deletions
diff --git a/meta/recipes-graphics/xorg-driver/xf86-video-intel/udev-fstat.patch b/meta/recipes-graphics/xorg-driver/xf86-video-intel/udev-fstat.patch
deleted file mode 100644
index 0e675ee9f2..0000000000
--- a/meta/recipes-graphics/xorg-driver/xf86-video-intel/udev-fstat.patch
+++ /dev/null
@@ -1,59 +0,0 @@
1Upstream-Status: Backport
2Signed-off-by: Ross Burton <ross.burton@intel.com>
3
4From 12af8a575d1518d40416f83195049157c3a062a5 Mon Sep 17 00:00:00 2001
5From: Chris Wilson <chris@chris-wilson.co.uk>
6Date: Tue, 24 Feb 2015 15:25:40 +0000
7Subject: sna: udev integration depends on fstat and sys/stat.h
8
9src/sna/sna_driver.c: In function 'sna_handle_uevents':
10src/sna/sna_driver.c:759:2: error: implicit declaration of function 'fstat' [-Werror=implicit-function-declaration]
11
12Also take the opportunity to include udev support in the configure
13summary.
14
15Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
16
17diff --git a/configure.ac b/configure.ac
18index 7476e2b..de3a4b3 100644
19--- a/configure.ac
20+++ b/configure.ac
21@@ -197,11 +197,15 @@ AC_ARG_ENABLE(udev,
22
23 if test "x$UDEV" != "xno"; then
24 PKG_CHECK_MODULES(UDEV, [libudev], [udev="yes"], [udev="no"])
25+ AC_CHECK_HEADERS([sys/stat.h], [], [udev="no"])
26 if test "x$UDEV" = "xyes" -a "x$udev" != "xyes"; then
27 AC_MSG_ERROR([udev support requested but not found (libudev)])
28 fi
29 if test "x$udev" = "xyes"; then
30 AC_DEFINE(HAVE_UDEV,1,[Enable udev-based monitor hotplug detection])
31+ udev_msg=" yes"
32+ else
33+ udev_msg=" no"
34 fi
35 fi
36
37@@ -911,6 +915,7 @@ echo " Support for Kernel Mode Setting? $KMS"
38 echo " Support for legacy User Mode Setting (for i810)? $UMS"
39 echo " Support for Direct Rendering Infrastructure:$dri_msg"
40 echo " Support for Xv motion compensation (XvMC and libXvMC):$xvmc_msg"
41+echo " Support for display hotplug notifications (udev):$udev_msg"
42 echo " Build additional tools and utilities?$tools_msg"
43 if test -n "$xp_msg"; then
44 echo " Experimental support:$xp_msg"
45diff --git a/src/sna/sna_driver.c b/src/sna/sna_driver.c
46index 8c0d0b5..bc20ef0 100644
47--- a/src/sna/sna_driver.c
48+++ b/src/sna/sna_driver.c
49@@ -740,6 +740,8 @@ sna_wakeup_handler(WAKEUPHANDLER_ARGS_DECL)
50 }
51
52 #if HAVE_UDEV
53+#include <sys/stat.h>
54+
55 static void
56 sna_handle_uevents(int fd, void *closure)
57 {
58--
59cgit v0.10.2