From f118c0ed26d148c88503fa191ecf489f9af7f765 Mon Sep 17 00:00:00 2001 From: "Hoe, Sheng Yang" Date: Thu, 16 Jan 2025 19:23:46 +0800 Subject: [PATCH] [Encode] Fix ACM multi-channel AVC encode performance degradation disable DG2 Height alignment WA Signed-off-by: Hoe, Sheng Yang --- media_driver/linux/Xe_M/ddi/media_sku_wa_xe.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/media_driver/linux/Xe_M/ddi/media_sku_wa_xe.cpp b/media_driver/linux/Xe_M/ddi/media_sku_wa_xe.cpp index 839e6757244..0c5e4a01149 100644 --- a/media_driver/linux/Xe_M/ddi/media_sku_wa_xe.cpp +++ b/media_driver/linux/Xe_M/ddi/media_sku_wa_xe.cpp @@ -918,6 +918,8 @@ static bool InitDg2MediaWa(struct GfxDeviceInfo *devInfo, MEDIA_WR_WA(waTable, Wa_15013355402, 1); + MEDIA_WR_WA(waTable, Wa_AvcUnalignedHeight, 0); + return true; }