summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/libva/files/0002-Add-mocs-index-in-patch-list.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-multimedia/libva/files/0002-Add-mocs-index-in-patch-list.patch')
-rw-r--r--recipes-multimedia/libva/files/0002-Add-mocs-index-in-patch-list.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/recipes-multimedia/libva/files/0002-Add-mocs-index-in-patch-list.patch b/recipes-multimedia/libva/files/0002-Add-mocs-index-in-patch-list.patch
deleted file mode 100644
index 756d47d9..00000000
--- a/recipes-multimedia/libva/files/0002-Add-mocs-index-in-patch-list.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From 80c5c6e6e671d61eae16a53fd36442993813609f Mon Sep 17 00:00:00 2001
2From: LeyuYao <leyu.yao@intel.com>
3Date: Mon, 3 Jul 2023 00:58:09 +0800
4Subject: [PATCH 2/5] Add mocs index in patch list
5
6For linux usage
7
8upstream-status: backport
9
10Backport from upstream media-driver:
11https://github.com/intel/media-driver/commit/26d5f57cad88df823164944ad496507d22a50fb1
12---
13 media_softlet/agnostic/common/hw/mhw_utilities_next.cpp | 2 ++
14 1 file changed, 2 insertions(+)
15
16diff --git a/media_softlet/agnostic/common/hw/mhw_utilities_next.cpp b/media_softlet/agnostic/common/hw/mhw_utilities_next.cpp
17index a9db7bf95..4db4e1f66 100644
18--- a/media_softlet/agnostic/common/hw/mhw_utilities_next.cpp
19+++ b/media_softlet/agnostic/common/hw/mhw_utilities_next.cpp
20@@ -290,6 +290,8 @@ MOS_STATUS Mhw_AddResourceToCmd_PatchList(
21 // Offset and command LSB parameters
22 dwOffset = pParams->dwOffset | ((*pParams->pdwCmd) & ((1 << dwLsbNum) - 1));
23
24+ Mhw_SetMocsTableIndex(pOsInterface, pParams->presResource, pParams->mocsParams);
25+
26 if (pParams->dwOffsetInSSH > 0)
27 {
28 // Calculate the patch offset to command buffer
29--
302.40.1
31