From d9ea15202df23be0ead2157392ca347c42d28ce0 Mon Sep 17 00:00:00 2001 From: LeyuYao 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 --- 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