mirror of
git://git.yoctoproject.org/meta-intel.git
synced 2025-07-19 12:59:03 +02:00

Drop patches already merged: * 0002-Add-VASurfaceAttribMemoryType-for-ACM.patch * 0004-Set-sRGB-color-space-for-non-video-wall-and-no-backg.patch * 0005-XRGB-force-to-do-swizzle-for-AVC-HEVC.patch * 0006-Add-DG2-DIDs.patch Rebased patchess: * 0001-Disable-vp9-padding-on-mtl.patch * 0002-Force-ARGB-surface-to-tile4-for-ACM.patch Added new bug fixed: * 0004-Add-device-ID-for-ARL.patch * 0005-Add-XR24-support-to-DMABuf.patch * 0006-add-INTEL-MEDIA-ALLOC-refineE-to-specify-the-memory-.patch * 0007-Skip-report-keys.patch * 0008-Limit-INTEL-MEDIA-ALLOC-MODE-to-MTL-and-ARL-only.patch * 0009-Skip-cache-bucket-realloc-for-default-mode-0.patch * 0010-Fix-failed-4k-video-wall-test-case-and-color-corrupt.patch * 0011-Disable-422H-format-output.patch * 0012-Decode-Fix-AVC-decode-SFC-4K-hang-issue.patch Release notes: https://github.com/intel/media-driver/releases/tag/intel-media-23.4.3 Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
34 lines
1.2 KiB
Diff
34 lines
1.2 KiB
Diff
From 18c32247cbc0e9fabff7a847add099496af9e53f Mon Sep 17 00:00:00 2001
|
|
From: "Soon, Thean Siew" <thean.siew.soon@intel.com>
|
|
Date: Mon, 8 Jan 2024 18:12:30 +0000
|
|
Subject: [PATCH 09/12] Skip cache bucket realloc for default mode 0
|
|
|
|
Upstream-Status: Submitted [https://github.com/intel/media-driver/pull/1754]
|
|
|
|
Signed-off-by: Soon, Thean Siew <thean.siew.soon@intel.com>
|
|
---
|
|
.../linux/common/os/mos_context_specific_next.cpp | 7 ++++++-
|
|
1 file changed, 6 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/media_softlet/linux/common/os/mos_context_specific_next.cpp b/media_softlet/linux/common/os/mos_context_specific_next.cpp
|
|
index 87059f538..9dbd5da79 100644
|
|
--- a/media_softlet/linux/common/os/mos_context_specific_next.cpp
|
|
+++ b/media_softlet/linux/common/os/mos_context_specific_next.cpp
|
|
@@ -146,7 +146,12 @@ MOS_STATUS OsContextSpecificNext::Init(DDI_DEVICE_CONTEXT ddiDriverContext)
|
|
{
|
|
mode = (value & 0x000000ff);
|
|
}
|
|
- mos_bufmgr_realloc_cache(m_bufmgr, mode);
|
|
+
|
|
+ // Realloc cache only if it's not mode 0
|
|
+ if (mode)
|
|
+ {
|
|
+ mos_bufmgr_realloc_cache(m_bufmgr, mode);
|
|
+ }
|
|
}
|
|
|
|
ReadUserSetting(
|
|
--
|
|
2.40.1
|
|
|