summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xorg-driver
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2020-01-15 14:13:05 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-19 13:24:38 +0000
commit3b7c1d7ffb7c0af8c7f6e327541fecc9aa287a91 (patch)
tree7d871068bcfc1a8218f2130de87de1a62804e2ba /meta/recipes-graphics/xorg-driver
parent1f3066006a9c4949b8b37dac5bcf73f91f8ba825 (diff)
downloadpoky-3b7c1d7ffb7c0af8c7f6e327541fecc9aa287a91.tar.gz
xf86-video-intel: bump to latest SRCREV
Drop the i686 build fix, this is integrated upstream now. (From OE-Core rev: ed66833987b674a2403ab8a7d1c4556ff8a2efc4) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/xorg-driver')
-rw-r--r--meta/recipes-graphics/xorg-driver/xf86-video-intel/01_Fix-build-on-i686.patch55
-rw-r--r--meta/recipes-graphics/xorg-driver/xf86-video-intel_git.bb7
2 files changed, 2 insertions, 60 deletions
diff --git a/meta/recipes-graphics/xorg-driver/xf86-video-intel/01_Fix-build-on-i686.patch b/meta/recipes-graphics/xorg-driver/xf86-video-intel/01_Fix-build-on-i686.patch
deleted file mode 100644
index 52916f8b4a..0000000000
--- a/meta/recipes-graphics/xorg-driver/xf86-video-intel/01_Fix-build-on-i686.patch
+++ /dev/null
@@ -1,55 +0,0 @@
1From a414d4e24461da1cb4cef8ee910bc57bab360ceb Mon Sep 17 00:00:00 2001
2From: Adam Jackson <ajax@redhat.com>
3Date: Tue, 6 Mar 2018 12:07:46 -0500
4Subject: [PATCH] Fix build on i686
5
6Presumably this only matters for i686 because amd64 implies sse2, but:
7
8BUILDSTDERR: In file included from gen4_vertex.c:34:
9BUILDSTDERR: gen4_vertex.c: In function 'emit_vertex':
10BUILDSTDERR: sna_render_inline.h:40:26: error: inlining failed in call to always_inline 'vertex_emit_2s': target specific option mismatch
11BUILDSTDERR: static force_inline void vertex_emit_2s(struct sna *sna, int16_t x, int16_t y)
12BUILDSTDERR: ^~~~~~~~~~~~~~
13BUILDSTDERR: gen4_vertex.c:308:25: note: called from here
14BUILDSTDERR: #define OUT_VERTEX(x,y) vertex_emit_2s(sna, x,y) /* XXX assert(!too_large(x, y)); */
15BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~
16BUILDSTDERR: gen4_vertex.c:360:2: note: in expansion of macro 'OUT_VERTEX'
17BUILDSTDERR: OUT_VERTEX(dstX, dstY);
18BUILDSTDERR: ^~~~~~~~~~
19
20The bug here appears to be that emit_vertex() is declared 'sse2' but
21vertex_emit_2s is merely always_inline. gcc8 decides that since you said
22always_inline you need to have explicitly cloned it for every
23permutation of targets. Merely saying inline seems to do the job of
24cloning vertex_emit_2s as much as necessary.
25
26So to reiterate: if you say always-inline, it won't, but if you just say
27maybe inline, it will. Thanks gcc, that's helpful.
28
29- ajax
30
31Patch taken from Fedora.
32
33Upstream-Status: Pending
34Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
35
36---
37 src/sna/compiler.h | 2 +-
38 1 file changed, 1 insertion(+), 1 deletion(-)
39
40diff --git a/src/sna/compiler.h b/src/sna/compiler.h
41index 3c176a16..bc447c7a 100644
42--- a/src/sna/compiler.h
43+++ b/src/sna/compiler.h
44@@ -32,7 +32,7 @@
45 #define likely(expr) (__builtin_expect (!!(expr), 1))
46 #define unlikely(expr) (__builtin_expect (!!(expr), 0))
47 #define noinline __attribute__((noinline))
48-#define force_inline inline __attribute__((always_inline))
49+#define force_inline inline
50 #define fastcall __attribute__((regparm(3)))
51 #define must_check __attribute__((warn_unused_result))
52 #define constant __attribute__((const))
53--
542.16.2
55
diff --git a/meta/recipes-graphics/xorg-driver/xf86-video-intel_git.bb b/meta/recipes-graphics/xorg-driver/xf86-video-intel_git.bb
index bf9009bda0..553840ddb8 100644
--- a/meta/recipes-graphics/xorg-driver/xf86-video-intel_git.bb
+++ b/meta/recipes-graphics/xorg-driver/xf86-video-intel_git.bb
@@ -9,14 +9,11 @@ Infrastructure (DRI)."
9 9
10LIC_FILES_CHKSUM = "file://COPYING;md5=8730ad58d11c7bbad9a7066d69f7808e" 10LIC_FILES_CHKSUM = "file://COPYING;md5=8730ad58d11c7bbad9a7066d69f7808e"
11 11
12SRCREV = "33ee0c3b21ea279e08d0863fcb2e874f0974b00e" 12SRCREV = "f66d39544bb8339130c96d282a80f87ca1606caf"
13PV = "2.99.917+git${SRCPV}" 13PV = "2.99.917+git${SRCPV}"
14S = "${WORKDIR}/git" 14S = "${WORKDIR}/git"
15 15
16SRC_URI = "git://anongit.freedesktop.org/xorg/driver/xf86-video-intel \ 16SRC_URI = "git://anongit.freedesktop.org/xorg/driver/xf86-video-intel"
17 "
18
19SRC_URI_append_qemux86 = "file://01_Fix-build-on-i686.patch"
20 17
21UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)" 18UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
22 19