diff options
author | Trevor Woerner <twoerner@gmail.com> | 2020-12-17 23:52:45 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-12-24 08:25:14 +0000 |
commit | a482c780adc24e23d93297ef24ea721787dcecc8 (patch) | |
tree | 5f1c6b38eb8f7e6df2ead7660f6fdc31bc1fa1c0 /meta/recipes-graphics/mesa/files/0005-vc4-use-intmax_t-for-formatted-output-of-timespec-me.patch | |
parent | bbb16e57f8917458cd1d96c0a90f1d9dc4885c73 (diff) | |
download | poky-a482c780adc24e23d93297ef24ea721787dcecc8.tar.gz |
mesa: update 20.2.4 -> 20.3.1
Two of the patches have been applied upstream:
0001-meson-Add-xcb-fixes-to-loader-when-using-x11-and-dri.patch
0005-vc4-use-intmax_t-for-formatted-output-of-timespec-me.patch
The 'surfaceless' platform is now enabled by default, therefore it is no
longer a valid choice. The meson build system is intelligent enough now to
decide if 'drm' needs to be enabled based on whether or not gbm is available.
Therefore 'drm' also is no longer a valid platform choice:
ERROR: Options "drm, surfaceless" are not in allowed choices: "auto, x11, wayland, haiku, android, windows"
RP: Add missing mesa-gl upgrade
(From OE-Core rev: de68fe9268092c0600a81bedfc805eaed9dcb87b)
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa/files/0005-vc4-use-intmax_t-for-formatted-output-of-timespec-me.patch')
-rw-r--r-- | meta/recipes-graphics/mesa/files/0005-vc4-use-intmax_t-for-formatted-output-of-timespec-me.patch | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/meta/recipes-graphics/mesa/files/0005-vc4-use-intmax_t-for-formatted-output-of-timespec-me.patch b/meta/recipes-graphics/mesa/files/0005-vc4-use-intmax_t-for-formatted-output-of-timespec-me.patch deleted file mode 100644 index dacb1ea1c8..0000000000 --- a/meta/recipes-graphics/mesa/files/0005-vc4-use-intmax_t-for-formatted-output-of-timespec-me.patch +++ /dev/null | |||
@@ -1,51 +0,0 @@ | |||
1 | From 281a636353666bfdd373c62591e744087e750e89 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Wed, 4 Dec 2019 14:15:28 -0800 | ||
4 | Subject: [PATCH] vc4: use intmax_t for formatted output of timespec members | ||
5 | |||
6 | 32bit architectures which have 64bit time_t does not fit the assumption | ||
7 | of time_t being same as system long int | ||
8 | |||
9 | Fixes | ||
10 | error: format specifies type 'long' but the argument has type 'time_t' (aka 'long long') [-Werror,-Wformat] | ||
11 | time.tv_sec); | ||
12 | ^~~~~~~~~~~ | ||
13 | |||
14 | Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2966] | ||
15 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
16 | |||
17 | --- | ||
18 | src/gallium/drivers/v3d/v3d_bufmgr.c | 4 ++-- | ||
19 | src/gallium/drivers/vc4/vc4_bufmgr.c | 4 ++-- | ||
20 | 2 files changed, 4 insertions(+), 4 deletions(-) | ||
21 | |||
22 | diff --git a/src/gallium/drivers/v3d/v3d_bufmgr.c b/src/gallium/drivers/v3d/v3d_bufmgr.c | ||
23 | index 31a0803..cc2e2af 100644 | ||
24 | --- a/src/gallium/drivers/v3d/v3d_bufmgr.c | ||
25 | +++ b/src/gallium/drivers/v3d/v3d_bufmgr.c | ||
26 | @@ -80,8 +80,8 @@ v3d_bo_dump_stats(struct v3d_screen *screen) | ||
27 | |||
28 | struct timespec time; | ||
29 | clock_gettime(CLOCK_MONOTONIC, &time); | ||
30 | - fprintf(stderr, " now: %ld\n", | ||
31 | - (long)time.tv_sec); | ||
32 | + fprintf(stderr, " now: %jd\n", | ||
33 | + (intmax_t)time.tv_sec); | ||
34 | } | ||
35 | } | ||
36 | |||
37 | diff --git a/src/gallium/drivers/vc4/vc4_bufmgr.c b/src/gallium/drivers/vc4/vc4_bufmgr.c | ||
38 | index a786e8e..975d49e 100644 | ||
39 | --- a/src/gallium/drivers/vc4/vc4_bufmgr.c | ||
40 | +++ b/src/gallium/drivers/vc4/vc4_bufmgr.c | ||
41 | @@ -99,8 +99,8 @@ vc4_bo_dump_stats(struct vc4_screen *screen) | ||
42 | |||
43 | struct timespec time; | ||
44 | clock_gettime(CLOCK_MONOTONIC, &time); | ||
45 | - fprintf(stderr, " now: %ld\n", | ||
46 | - (long)time.tv_sec); | ||
47 | + fprintf(stderr, " now: %jd\n", | ||
48 | + (intmax_t)time.tv_sec); | ||
49 | } | ||
50 | } | ||
51 | |||