intel-media-driver: update to 23.3.5.
This commit is contained in:
parent
e67c0f8a7d
commit
88442d5566
2 changed files with 2 additions and 60 deletions
|
@ -1,58 +0,0 @@
|
||||||
From b17354142563b45e0ebf427485591426481368fd Mon Sep 17 00:00:00 2001
|
|
||||||
From: Bernd Kuhls <bernd.kuhls@t-online.de>
|
|
||||||
Date: Fri, 29 Jul 2022 19:51:39 +0200
|
|
||||||
Subject: [PATCH] Fix uClibc build
|
|
||||||
|
|
||||||
uClibc does not provide execinfo.h
|
|
||||||
---
|
|
||||||
CMakeLists.txt | 6 ++++++
|
|
||||||
.../linux/common/os/osservice/mos_utilities_specific.cpp | 4 ++++
|
|
||||||
2 files changed, 10 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
||||||
index 053904748..4a3f0869e 100755
|
|
||||||
--- a/CMakeLists.txt
|
|
||||||
+++ b/CMakeLists.txt
|
|
||||||
@@ -53,6 +53,12 @@ option (BUILD_CMRTLIB "Build and Install cmrtlib together with media driver" ON)
|
|
||||||
|
|
||||||
option (ENABLE_PRODUCTION_KMD "Enable Production KMD header files" OFF)
|
|
||||||
|
|
||||||
+include(CheckIncludeFileCXX)
|
|
||||||
+check_include_file_cxx("execinfo.h" HAVE_EXECINFO)
|
|
||||||
+if (HAVE_EXECINFO)
|
|
||||||
+ add_definitions(-DHAVE_EXECINFO)
|
|
||||||
+endif()
|
|
||||||
+
|
|
||||||
include(GNUInstallDirs)
|
|
||||||
|
|
||||||
if (BUILD_CMRTLIB AND NOT CMAKE_WDDM_LINUX)
|
|
||||||
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 bde216b83..120b02d55 100644
|
|
||||||
--- a/media_softlet/linux/common/os/osservice/mos_utilities_specific.cpp
|
|
||||||
+++ b/media_softlet/linux/common/os/osservice/mos_utilities_specific.cpp
|
|
||||||
@@ -34,7 +34,9 @@
|
|
||||||
#include <signal.h>
|
|
||||||
#include <unistd.h> // fork
|
|
||||||
#include <algorithm>
|
|
||||||
+#ifdef HAVE_EXECINFO
|
|
||||||
#include <execinfo.h> // backtrace
|
|
||||||
+#endif
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/stat.h> // fstat
|
|
||||||
#include <sys/ipc.h> // System V IPC
|
|
||||||
@@ -2473,6 +2475,7 @@ void MosUtilities::MosTraceEvent(
|
|
||||||
MOS_FreeMemory(pTraceBuf);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+#ifdef HAVE_EXECINFO
|
|
||||||
if (m_mosTraceFilter & (1ULL << TR_KEY_CALL_STACK))
|
|
||||||
{
|
|
||||||
// reserve space for header and stack size field.
|
|
||||||
@@ -2492,6 +2495,7 @@ void MosUtilities::MosTraceEvent(
|
|
||||||
size_t ret = write(MosUtilitiesSpecificNext::m_mosTraceFd, traceBuf, nLen);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+#endif
|
|
||||||
}
|
|
||||||
return;
|
|
||||||
}
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'intel-media-driver'
|
# Template file for 'intel-media-driver'
|
||||||
pkgname=intel-media-driver
|
pkgname=intel-media-driver
|
||||||
version=22.5.3
|
version=23.3.5
|
||||||
revision=1
|
revision=1
|
||||||
archs="x86_64*"
|
archs="x86_64*"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
|
@ -12,7 +12,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="MIT, BSD-3-Clause"
|
license="MIT, BSD-3-Clause"
|
||||||
homepage="https://github.com/intel/media-driver"
|
homepage="https://github.com/intel/media-driver"
|
||||||
distfiles="https://github.com/intel/media-driver/archive/intel-media-${version}.tar.gz"
|
distfiles="https://github.com/intel/media-driver/archive/intel-media-${version}.tar.gz"
|
||||||
checksum=65652b365d48be3c9f0b3c561502952b92ee5fcc587520b88d0d752cf2a6a3b5
|
checksum=67fd15654bb3c596feb8c85e81221de5632e11f598421c35adc4453d727f0130
|
||||||
|
|
||||||
build_options="nonfree"
|
build_options="nonfree"
|
||||||
desc_option_nonfree="Enable nonfree kernels"
|
desc_option_nonfree="Enable nonfree kernels"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue