Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "Alexander Kanavin" <alex.kanavin@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Subject: [PATCH 10/21] igt-gpu-tools: upgrade 1.25 -> 1.26
Date: Mon, 24 May 2021 11:13:36 +0200	[thread overview]
Message-ID: <20210524091347.419253-10-alex.kanavin@gmail.com> (raw)
In-Reply-To: <20210524091347.419253-1-alex.kanavin@gmail.com>

Drop patches merged upstream.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 ...t_edid-Allocate-raw-8-bytes-for-VSDB.patch | 42 -------------------
 .../igt-gpu-tools/reproducibility.patch       | 38 -----------------
 .../igt-gpu-tools/igt-gpu-tools_git.bb        |  8 ++--
 3 files changed, 3 insertions(+), 85 deletions(-)
 delete mode 100644 meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools/0001-lib-igt_edid-Allocate-raw-8-bytes-for-VSDB.patch
 delete mode 100644 meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools/reproducibility.patch

diff --git a/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools/0001-lib-igt_edid-Allocate-raw-8-bytes-for-VSDB.patch b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools/0001-lib-igt_edid-Allocate-raw-8-bytes-for-VSDB.patch
deleted file mode 100644
index 38bd4550a3..0000000000
--- a/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools/0001-lib-igt_edid-Allocate-raw-8-bytes-for-VSDB.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From 606349860d27492c328752dca5a3784c0e9a6d24 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Sat, 27 Feb 2021 11:05:45 -0800
-Subject: [PATCH i-g-t] lib/igt_edid: Allocate raw 8-bytes for VSDB
-
-hdmi_vsdb is an element of cea_vsdb which makes the size of cea_vsdb to
-be 8 ( 3bytes ieee_oui ) + ( 5bytes hdmi_vsdb struct), its true that we
-only use 7 bytes technically we can only allocate 7byte array but since
-we are writing to elements of hdmi_vsdb struct which is sitting at offet
-4-8 in cea_vsdb, compiler thinks we have an element which is out of
-array bounds since out allocated size is 7bytes
-
-This errors out
-../git/lib/igt_edid.c:365:13: error: array subscript 'struct hdmi_vsdb[0]' is partly outside array bounds of 'char[7]' [-Werror=array-bounds]
-  365 |         hdmi->src_phy_addr[0] = 0x10;
-      |             ^~
-
-allocating one extra byte matches with size of cea_vsdb and compiler is
-happy
-
-Upstream-Status: Submitted [https://lists.freedesktop.org/archives/igt-dev/2021-February/029446.html]
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- lib/igt_edid.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/lib/igt_edid.c b/lib/igt_edid.c
-index 1c85486d..ce09cc47 100644
---- a/lib/igt_edid.c
-+++ b/lib/igt_edid.c
-@@ -351,7 +351,7 @@ void cea_sad_init_pcm(struct cea_sad *sad, int channels,
- const struct cea_vsdb *cea_vsdb_get_hdmi_default(size_t *size)
- {
- 	/* We'll generate a VSDB with 2 extension fields. */
--	static char raw[CEA_VSDB_HDMI_MIN_SIZE + 2] = {0};
-+	static char raw[CEA_VSDB_HDMI_MIN_SIZE + 3] = {0};
- 	struct cea_vsdb *vsdb;
- 	struct hdmi_vsdb *hdmi;
- 
--- 
-2.30.1
-
diff --git a/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools/reproducibility.patch b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools/reproducibility.patch
deleted file mode 100644
index 39e36d8737..0000000000
--- a/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools/reproducibility.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-meson: Allow source location to be configurable
-
-Hardcoding a build source path into a binary when cross compiling isn't
-appropriate and breaks build reproducibility. Allow the srcdir to be
-specified by an optional configuration option to meson.
-
-Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
-Upstream-Status: Submitted [https://lists.freedesktop.org/archives/igt-dev/2021-February/029443.html]
-
-Index: git/lib/meson.build
-===================================================================
---- git.orig/lib/meson.build
-+++ git/lib/meson.build
-@@ -122,7 +122,11 @@ if chamelium.found()
- 	lib_sources += 'igt_chamelium_stream.c'
- endif
- 
--srcdir = join_paths(meson.source_root(), 'tests')
-+if get_option('srcdir') != ''
-+    srcdir = join_paths(get_option('srcdir'), 'tests')
-+else
-+    srcdir = join_paths(meson.source_root(), 'tests')
-+endif
- 
- lib_version = vcs_tag(input : 'version.h.in', output : 'version.h',
- 		      fallback : 'NO-GIT',
-Index: git/meson_options.txt
-===================================================================
---- git.orig/meson_options.txt
-+++ git/meson_options.txt
-@@ -50,3 +50,7 @@ option('use_rpath',
-        type : 'boolean',
-        value : false,
-        description : 'Set runpath on installed executables for libigt.so')
-+
-+option('srcdir',
-+       type : 'string',
-+       description : 'Path to source code to be compiled into binaries (optional)')
diff --git a/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
index 1cc94cf993..5ab0498f7a 100644
--- a/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
+++ b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
@@ -9,12 +9,10 @@ LICENSE = "MIT"
 
 inherit meson
 
-SRCREV = "d16ad07e7f2a028e14d61f570931c87fa5ce404c"
-PV = "1.25+git${SRCPV}"
+SRCREV = "203def046b466fb2da67f9f15552d84e1c0b41f2"
+PV = "1.26"
 
-SRC_URI = "git://gitlab.freedesktop.org/drm/igt-gpu-tools.git;protocol=https \
-           file://0001-lib-igt_edid-Allocate-raw-8-bytes-for-VSDB.patch \
-           file://reproducibility.patch"
+SRC_URI = "git://gitlab.freedesktop.org/drm/igt-gpu-tools.git;protocol=https"
 
 S = "${WORKDIR}/git"
 
-- 
2.31.1


  parent reply	other threads:[~2021-05-24  9:14 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-24  9:13 [PATCH 01/21] gdk-pixbuf: update a patch status Alexander Kanavin
2021-05-24  9:13 ` [PATCH 02/21] systemd: update 247.6 -> 248.3 Alexander Kanavin
2021-05-25  0:18   ` [OE-core] " Khem Raj
2021-05-25  1:40     ` Khem Raj
2021-05-25  7:55       ` Alexander Kanavin
2021-05-25 13:52         ` Khem Raj
2021-05-25 14:02           ` Alexander Kanavin
2021-05-25 14:16             ` Richard Purdie
2021-05-25 14:29               ` Alexander Kanavin
2021-05-24  9:13 ` [PATCH 03/21] systemd-conf: do not version in lockstep with systemd Alexander Kanavin
2021-05-24  9:13 ` [PATCH 04/21] gnu-config: update to latest revision Alexander Kanavin
2021-05-24  9:13 ` [PATCH 05/21] mmc-utils: " Alexander Kanavin
2021-05-24  9:13 ` [PATCH 06/21] python3-smartypants: fix upstream version check Alexander Kanavin
2021-05-24  9:13 ` [PATCH 07/21] at: upgrade 3.2.1 -> 3.2.2 Alexander Kanavin
2021-05-24  9:13 ` [PATCH 08/21] gnomebase: trim the SRC_URI directory from the back Alexander Kanavin
2021-05-24  9:13 ` [PATCH 09/21] gsettings-desktop-schemas: upgrade 3.38.0 -> 40.0 Alexander Kanavin
2021-05-24  9:13 ` Alexander Kanavin [this message]
2021-05-24  9:13 ` [PATCH 11/21] mesa: update 21.0.3 -> 21.1.1 Alexander Kanavin
2021-05-24  9:13 ` [PATCH 12/21] vulkan-samples: update to latest revision Alexander Kanavin
2021-05-24  9:13 ` [PATCH 13/21] libgpg-error: update 1.41 -> 1.42 Alexander Kanavin
2021-05-24  9:13 ` [PATCH 14/21] webkitgtk: update 2.32.0 -> 2.32.1 Alexander Kanavin
2021-05-24  9:13 ` [PATCH 15/21] glib-2.0: update 2.68.1 -> 2.68.2 Alexander Kanavin
2021-05-24  9:13 ` [PATCH 16/21] apt: upgrade 2.2.2 -> 2.2.3 Alexander Kanavin
2021-05-24  9:13 ` [PATCH 17/21] cmake: update 3.20.1 -> 3.20.2 Alexander Kanavin
2021-05-24  9:13 ` [PATCH 18/21] libdnf: update 0.62.0 -> 0.63.0 Alexander Kanavin
2021-05-28  2:49   ` [OE-core] " Chen Qi
2021-05-24  9:13 ` [PATCH 19/21] harfbuzz: update 2.8.0 -> 2.8.1 Alexander Kanavin
2021-05-24  9:13 ` [PATCH 20/21] curl: update 7.76.0 -> 7.76.1 Alexander Kanavin
2021-05-24  9:13 ` [PATCH 21/21] systemtap: update 4.4 -> 4.5 Alexander Kanavin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210524091347.419253-10-alex.kanavin@gmail.com \
    --to=alex.kanavin@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox