summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/libva/files/0002-Add-mocs-index-in-patch-list.patch
diff options
context:
space:
mode:
authorLim Siew Hoon <siew.hoon.lim@intel.com>2023-08-09 17:07:40 +0800
committerAnuj Mittal <anuj.mittal@intel.com>2023-08-10 09:59:31 +0800
commit0a8af9c93c24175b6960cd360d151ea014719ed9 (patch)
treebdcce55a5b4a7b9a2b478c59c2da579bb6b710ed /recipes-multimedia/libva/files/0002-Add-mocs-index-in-patch-list.patch
parentf0aef0cefccab7045770776eb049d4af11d73f77 (diff)
downloadmeta-intel-0a8af9c93c24175b6960cd360d151ea014719ed9.tar.gz
intel-media-driver: upgrade 23.1.6 -> 23.2.4
Drops patches already merged: - fd67cc3fbd3a362297afc7cc8d75560df62708de.patch Rebased patches - 0001-Encode-fix-fwdRefs-array-out-of-bound-issue.patch Add patches fix various issues: - Fixed to force ARGB to tile4 for MTL platform - Fixed to force BGRX to tile4 for MTL platform - Fixed to incorrect VDSFC color issue for MTL platform - To add mocs index in patch list Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
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, 31 insertions, 0 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
new file mode 100644
index 00000000..756d47d9
--- /dev/null
+++ b/recipes-multimedia/libva/files/0002-Add-mocs-index-in-patch-list.patch
@@ -0,0 +1,31 @@
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