diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2018-05-02 09:33:52 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-04 13:28:05 +0100 |
commit | 5f699e314d65f5a5bee473baee9d17a4fa60fe60 (patch) | |
tree | 30455c1093acff3895874ad0f2b19f226c4c7b92 /meta/recipes-graphics/mesa/files | |
parent | e6f9ef2aa9fe4152d265977ac480d9b70f9e58a9 (diff) | |
download | poky-5f699e314d65f5a5bee473baee9d17a4fa60fe60.tar.gz |
mesa: Upgrade 17.3.8 -> 18.0.2
This includes changes from Mesa 18.0.0 and 18.0.2 releases.
Mesa 18.0.0 is a new development release and 18.0.1 and 18.0.2 are
bug-fix releases.
You can find release notes here:
- https://mesa3d.org/relnotes/18.0.0.html
- https://mesa3d.org/relnotes/18.0.1.html
- https://mesa3d.org/relnotes/18.0.2.html
Remove patch 0001-st-dri-Initialise-modifier-to-INVALID-for-DRI2.patch
that was applied on upstream.
(From OE-Core rev: c16bc7c9b1526ff4b9496af00ada08aa4109c0ef)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa/files')
-rw-r--r-- | meta/recipes-graphics/mesa/files/0001-st-dri-Initialise-modifier-to-INVALID-for-DRI2.patch | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/meta/recipes-graphics/mesa/files/0001-st-dri-Initialise-modifier-to-INVALID-for-DRI2.patch b/meta/recipes-graphics/mesa/files/0001-st-dri-Initialise-modifier-to-INVALID-for-DRI2.patch deleted file mode 100644 index 6aba7859ee..0000000000 --- a/meta/recipes-graphics/mesa/files/0001-st-dri-Initialise-modifier-to-INVALID-for-DRI2.patch +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | From 4cbecb61682a0ee426faaa03d824fc8fd7aef826 Mon Sep 17 00:00:00 2001 | ||
2 | From: Daniel Stone <daniels@collabora.com> | ||
3 | Date: Mon, 2 Apr 2018 13:20:34 +0100 | ||
4 | Subject: [PATCH] st/dri: Initialise modifier to INVALID for DRI2 | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | When allocating a buffer for DRI2, set the modifier to INVALID to inform | ||
10 | the backend that we have no supplied modifiers and it should do its own | ||
11 | thing. The missed initialisation forced linear, even if the | ||
12 | implementation had made other decisions. | ||
13 | |||
14 | This resulted in VC4 DRI2 clients failing with: | ||
15 | Modifier 0x0 vs. tiling (0x700000000000001) mismatch | ||
16 | |||
17 | Signed-off-by: Daniel Stone <daniels@collabora.com> | ||
18 | Reported-by: Andreas Müller <schnitzeltony@gmail.com> | ||
19 | Reviewed-by: Eric Anholt <eric@anholt.net> | ||
20 | Fixes: 3f8513172ff6 ("gallium/winsys/drm: introduce modifier field to winsys_handle") | ||
21 | |||
22 | Upstream-Status: Backport [1] | ||
23 | |||
24 | [1] https://cgit.freedesktop.org/mesa/mesa/commit/?id=4cbecb61682a0ee426faaa03d824fc8fd7aef826 | ||
25 | --- | ||
26 | src/gallium/state_trackers/dri/dri2.c | 1 + | ||
27 | 1 file changed, 1 insertion(+) | ||
28 | |||
29 | diff --git a/src/gallium/state_trackers/dri/dri2.c b/src/gallium/state_trackers/dri/dri2.c | ||
30 | index 31d17d46c2..58a6757f03 100644 | ||
31 | --- a/src/gallium/state_trackers/dri/dri2.c | ||
32 | +++ b/src/gallium/state_trackers/dri/dri2.c | ||
33 | @@ -806,6 +806,7 @@ dri2_allocate_textures(struct dri_context *ctx, | ||
34 | whandle.handle = buf->name; | ||
35 | whandle.stride = buf->pitch; | ||
36 | whandle.offset = 0; | ||
37 | + whandle.modifier = DRM_FORMAT_MOD_INVALID; | ||
38 | if (screen->can_share_buffer) | ||
39 | whandle.type = DRM_API_HANDLE_TYPE_SHARED; | ||
40 | else | ||
41 | -- | ||
42 | 2.14.3 | ||
43 | |||