From: motorto <motorto@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] intel-media-driver: update to 22.5.2.
Date: Fri, 12 Aug 2022 15:46:47 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-38632@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 648 bytes --]
There is a new pull request by motorto against master on the void-packages repository
https://github.com/motorto/void-packages intel-media-driver-22.5.0
https://github.com/void-linux/void-packages/pull/38632
intel-media-driver: update to 22.5.2.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**, been using it for the last day without any problem
<!--
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
A patch file from https://github.com/void-linux/void-packages/pull/38632.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-intel-media-driver-22.5.0-38632.patch --]
[-- Type: text/x-diff, Size: 3302 bytes --]
From d684270cf4c3e8ff14288fbbf7097a8f34da28f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Fri, 12 Aug 2022 14:45:56 +0100
Subject: [PATCH] intel-media-driver: update to 22.5.2.
---
.../intel-media-driver/patches/execinfo.patch | 40 ++++++++-----------
srcpkgs/intel-media-driver/template | 4 +-
2 files changed, 18 insertions(+), 26 deletions(-)
diff --git a/srcpkgs/intel-media-driver/patches/execinfo.patch b/srcpkgs/intel-media-driver/patches/execinfo.patch
index 17987b098d0a..4f2bcf734176 100644
--- a/srcpkgs/intel-media-driver/patches/execinfo.patch
+++ b/srcpkgs/intel-media-driver/patches/execinfo.patch
@@ -1,32 +1,24 @@
Fix builds on musl
+diff --git a/media_softlet/linux/common/os/osservice/mos_utilities_specific.cpp b/media_softlet/linux/common/os/osservice/mos_utilities_specific.cpp
+index bd1c5d1..82c8d35 100644
--- a/media_softlet/linux/common/os/osservice/mos_utilities_specific.cpp
+++ b/media_softlet/linux/common/os/osservice/mos_utilities_specific.cpp
-@@ -51,7 +51,9 @@
+@@ -34,7 +34,6 @@
#include <signal.h>
#include <unistd.h> // fork
#include <algorithm>
-+#if defined(__GLIBC__)
- #include <execinfo.h> // backtrace
-+#endif
-
- const char *MosUtilitiesSpecificNext::m_szUserFeatureFile = USER_FEATURE_FILE;
- MOS_PUF_KEYLIST MosUtilitiesSpecificNext::m_ufKeyList = nullptr;
-@@ -2489,6 +2491,7 @@
- MOS_FreeMemory(pTraceBuf);
- }
- }
-+#if defined(__GLIBC__)
- if (m_mosTraceFilter & (1ULL << TR_KEY_CALL_STACK))
- {
- // reserve space for header and stack size field.
-@@ -2508,6 +2511,7 @@
- size_t ret = write(MosUtilitiesSpecificNext::m_mosTraceFd, traceBuf, nLen);
- }
- }
-+#endif
- }
- return;
- }
-
+-#include <execinfo.h> // backtrace
+ #include <sys/types.h>
+ #include <sys/stat.h> // fstat
+ #include <sys/ipc.h> // System V IPC
+@@ -2475,7 +2474,7 @@ void MosUtilities::MosTraceEvent(
+ // max 32-2=30 layers call stack in 64bit driver.
+ uint32_t nLen = 4*sizeof(uint32_t);
+ void **stack = (void **)(traceBuf + nLen);
+- int num = backtrace(stack, ((sizeof(traceBuf)-nLen)/sizeof(void *)));
++ int num = 0;
+ if (num > 0)
+ {
+ uint32_t *header = (uint32_t *)traceBuf;
diff --git a/srcpkgs/intel-media-driver/template b/srcpkgs/intel-media-driver/template
index 855cfbdc3e0a..add82f6564fc 100644
--- a/srcpkgs/intel-media-driver/template
+++ b/srcpkgs/intel-media-driver/template
@@ -1,6 +1,6 @@
# Template file for 'intel-media-driver'
pkgname=intel-media-driver
-version=22.4.4
+version=22.5.2
revision=1
archs="x86_64*"
wrksrc=media-driver-intel-media-${version}
@@ -13,7 +13,7 @@ maintainer="Stefano Ragni <st3r4g@protonmail.com>"
license="MIT, BSD-3-Clause"
homepage="https://github.com/intel/media-driver"
distfiles="https://github.com/intel/media-driver/archive/intel-media-${version}.tar.gz"
-checksum=19c3ef965ca155913719d138e297963b759f9b9d34d4ea85414d1c7b9d204253
+checksum=3b53bb6fb7793ef6c498ff086327ceefeef0a72d1f41b1fcaeae552a694fbcd8
build_options="nonfree"
desc_option_nonfree="Enable nonfree kernels"
next reply other threads:[~2022-08-12 13:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-12 13:46 motorto [this message]
2022-08-13 21:09 ` [PR PATCH] [Updated] " motorto
2022-08-18 21:45 ` motorto
2022-08-18 23:08 ` motorto
2022-08-21 12:46 ` [PR PATCH] [Merged]: " leahneukirchen
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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-38632@inbox.vuxu.org \
--to=motorto@users.noreply.github.com \
--cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).