mirror of
git://git.yoctoproject.org/meta-intel.git
synced 2025-07-19 21:09:03 +02:00
intel-media-driver: upgrade 22.5.4 -> 23.1.0
Drops patches already fixed and merged: * 0001-Fix-uClibc-build.patch Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This commit is contained in:
parent
15c9cc795d
commit
d4bba3cc53
|
@ -1,64 +0,0 @@
|
||||||
From 1b737d3711826757a16eed382eb5d436072e4945 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Bernd Kuhls <bernd.kuhls@t-online.de>
|
|
||||||
Date: Fri, 10 Jun 2022 18:42:34 +0200
|
|
||||||
Subject: [PATCH] Fix uClibc build
|
|
||||||
|
|
||||||
uClibc does not provide execinfo.h
|
|
||||||
|
|
||||||
Upstream-Status: Submitted [https://github.com/intel/media-driver/pull/1437]
|
|
||||||
Signed-off-by: hilmanzafri <hilman.zafri.mazlan@intel.com>
|
|
||||||
---
|
|
||||||
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 72b512087..db4ae54f8 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 8b5d92da9..6d52e09ea 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
|
|
||||||
@@ -2457,6 +2459,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.
|
|
||||||
@@ -2476,6 +2479,7 @@ void MosUtilities::MosTraceEvent(
|
|
||||||
size_t ret = write(MosUtilitiesSpecificNext::m_mosTraceFd, traceBuf, nLen);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+#endif
|
|
||||||
}
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
--
|
|
||||||
2.34.1
|
|
||||||
|
|
|
@ -19,10 +19,9 @@ REQUIRED_DISTRO_FEATURES = "opengl"
|
||||||
DEPENDS += "libva gmmlib"
|
DEPENDS += "libva gmmlib"
|
||||||
|
|
||||||
SRC_URI = "git://github.com/intel/media-driver.git;protocol=https;nobranch=1 \
|
SRC_URI = "git://github.com/intel/media-driver.git;protocol=https;nobranch=1 \
|
||||||
file://0001-Fix-uClibc-build.patch \
|
|
||||||
"
|
"
|
||||||
|
|
||||||
SRCREV = "e461c0558c87a327c5a133efbcb5295e85c7d7f5"
|
SRCREV = "012af72d1fc55dfc89c29fc148dcfea939f2e9d9"
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
COMPATIBLE_HOST:x86-x32 = "null"
|
COMPATIBLE_HOST:x86-x32 = "null"
|
Loading…
Reference in New Issue
Block a user