summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/libva/files/0001-Disable-VP9-padding-on-MTL.patch
blob: 2f1602d276879980527b872ede09d5c7354fd474 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From d9ea15202df23be0ead2157392ca347c42d28ce0 Mon Sep 17 00:00:00 2001
From: LeyuYao <leyu.yao@intel.com>
Date: Thu, 7 Sep 2023 16:50:46 +0800
Subject: [PATCH 1/7] Disable VP9 padding on MTL

This is impact performance on large solution with not 8-aligned height

Upstream-Status: Backport [https://github.com/intel/media-driver/commit/f34b7d0cd]
Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
---
 media_softlet/linux/Xe_M_plus/ddi/media_sku_wa_mtl.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media_softlet/linux/Xe_M_plus/ddi/media_sku_wa_mtl.cpp b/media_softlet/linux/Xe_M_plus/ddi/media_sku_wa_mtl.cpp
index 91b2ed5ed..0f4d47931 100644
--- a/media_softlet/linux/Xe_M_plus/ddi/media_sku_wa_mtl.cpp
+++ b/media_softlet/linux/Xe_M_plus/ddi/media_sku_wa_mtl.cpp
@@ -284,7 +284,7 @@ static bool InitMtlMediaWaExt(struct GfxDeviceInfo *devInfo,
 
     MEDIA_WR_WA(waTable, WaDisableSetObjectCapture, 1);
 
-    MEDIA_WR_WA(waTable, Wa_Vp9UnalignedHeight, 1);
+    MEDIA_WR_WA(waTable, Wa_Vp9UnalignedHeight, 0);
 
     MEDIA_WR_WA(waTable, Wa_15013355402, 1);
 
-- 
2.40.1