summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/files/0003-Allow-enable-DRI-without-DRI-drivers.patch
diff options
context:
space:
mode:
authorFabio Berton <fabio.berton@ossystems.com.br>2019-06-12 18:12:57 -0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-14 22:48:22 +0100
commit2e395d80534dc0914989d81d51160fc34be3a2ec (patch)
tree95c860744881295d8417adb2aeb2d0920c0bbacc /meta/recipes-graphics/mesa/files/0003-Allow-enable-DRI-without-DRI-drivers.patch
parentb87f4d28f925891b2e9473cfac0d0885748f7f4f (diff)
downloadpoky-2e395d80534dc0914989d81d51160fc34be3a2ec.tar.gz
mesa: Update 19.0.6 -> 19.1.0
Update all patches to apply on 19.1.0 version. See full mesa 19.0.1 changes here: - https://www.mesa3d.org/relnotes/19.1.0.html (From OE-Core rev: b16c6d0452c79dcc2fccc4a7b9b2d68d53d2b353) Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa/files/0003-Allow-enable-DRI-without-DRI-drivers.patch')
-rw-r--r--meta/recipes-graphics/mesa/files/0003-Allow-enable-DRI-without-DRI-drivers.patch48
1 files changed, 48 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/files/0003-Allow-enable-DRI-without-DRI-drivers.patch b/meta/recipes-graphics/mesa/files/0003-Allow-enable-DRI-without-DRI-drivers.patch
new file mode 100644
index 0000000000..0f254a1d91
--- /dev/null
+++ b/meta/recipes-graphics/mesa/files/0003-Allow-enable-DRI-without-DRI-drivers.patch
@@ -0,0 +1,48 @@
1From 417ff3a03313aa003244990ed5c0188c421e6181 Mon Sep 17 00:00:00 2001
2From: Fabio Berton <fabio.berton@ossystems.com.br>
3Date: Wed, 12 Jun 2019 14:18:31 -0300
4Subject: [PATCH 3/3] Allow enable DRI without DRI drivers
5Organization: O.S. Systems Software LTDA.
6
7Upstream-Status: Pending
8
9Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
10Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
11---
12 meson.build | 2 +-
13 meson_options.txt | 6 ++++++
14 2 files changed, 7 insertions(+), 1 deletion(-)
15
16diff --git a/meson.build b/meson.build
17index 7a07974ba61..5c7cbe38376 100644
18--- a/meson.build
19+++ b/meson.build
20@@ -137,7 +137,7 @@ with_dri_r200 = dri_drivers.contains('r200')
21 with_dri_nouveau = dri_drivers.contains('nouveau')
22 with_dri_swrast = dri_drivers.contains('swrast')
23
24-with_dri = dri_drivers.length() != 0 and dri_drivers != ['']
25+with_dri = get_option('dri') or (_drivers.length() != 0 and _drivers != [''])
26
27 gallium_drivers = get_option('gallium-drivers')
28 if gallium_drivers.contains('auto')
29diff --git a/meson_options.txt b/meson_options.txt
30index fcd49efea27..0529200b3bb 100644
31--- a/meson_options.txt
32+++ b/meson_options.txt
33@@ -34,6 +34,12 @@ option(
34 choices : ['auto', 'true', 'false'],
35 description : 'enable support for dri3'
36 )
37+option(
38+ 'dri',
39+ type : 'boolean',
40+ value : false,
41+ description : 'enable support for dri'
42+)
43 option(
44 'dri-drivers',
45 type : 'array',
46--
472.22.0
48