meta-intel/recipes-multimedia/libva/files/0006-Add-DG2-DIDs.patch
Lim Siew Hoon 587dce125d intel-media-driver: upgrade 23.2.4 -> 23.3.5
Removed patches already merged:
 - 0001-ARGB-force-to-tile4.patch
 - 0001-Fix-FC-Corruption-When-Blending-without-Colorfill-in.patch
 - 0001-Fix-FC-Corruption-When-Blending-without-Colorfill.patch
 - 0001-Force-to-render-path-according-to-app-setting.patch
 - 0002-Add-DRM-format-mappings-for-JPEG-decoder-output.patch

Rebased patches:
 - 0001-Disable-VP9-padding-on-MTL.patch
 - 0004-Set-sRGB-color-space-for-non-video-wall-and-no-backg.patch

Added code fixed and new DG2 device id support:
 - 0002-Add-VASurfaceAttribMemoryType-for-ACM.patch
 - 0003-Force-ARGB-surface-to-tile4-for-ACM.patch
 - 0005-XRGB-force-to-do-swizzle-for-AVC-HEVC.patch
 - 0006-Add-DG2-DIDs.patch

Release notes:
https://github.com/intel/media-driver/releases/tag/intel-media-23.3.5

Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-11-24 11:56:03 +08:00

40 lines
1.5 KiB
Diff

From 741d8692cee1a73a45a6cd819a52ed9716012d20 Mon Sep 17 00:00:00 2001
From: JayYang <jay.yang@intel.com>
Date: Mon, 30 Oct 2023 13:37:49 +0800
Subject: [PATCH 6/7] Add DG2 DIDs
Add some device IDs for DG2.
Upstream-Status: Backport [https://github.com/intel/media-driver/commit/e7ba5c82f59764ac6700f6ebeb0e6f459d85e27c]
Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
---
media_driver/linux/Xe_M/ddi/media_sysinfo_xe.cpp | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/media_driver/linux/Xe_M/ddi/media_sysinfo_xe.cpp b/media_driver/linux/Xe_M/ddi/media_sysinfo_xe.cpp
index fe15b419c..7ff3527f7 100644
--- a/media_driver/linux/Xe_M/ddi/media_sysinfo_xe.cpp
+++ b/media_driver/linux/Xe_M/ddi/media_sysinfo_xe.cpp
@@ -459,6 +459,18 @@ static bool dg2Gt4Device56B0 = DeviceInfoFactory<GfxDeviceInfo>::
static bool dg2Gt4Device56B1 = DeviceInfoFactory<GfxDeviceInfo>::
RegisterDevice(0x56B1, &dg2Gt4Info);
+static bool dg2Gt4Device56BA = DeviceInfoFactory<GfxDeviceInfo>::
+ RegisterDevice(0x56BA, &dg2Gt4Info);
+
+static bool dg2Gt4Device56BB = DeviceInfoFactory<GfxDeviceInfo>::
+ RegisterDevice(0x56BB, &dg2Gt4Info);
+
+static bool dg2Gt4Device56BC = DeviceInfoFactory<GfxDeviceInfo>::
+ RegisterDevice(0x56BC, &dg2Gt4Info);
+
+static bool dg2Gt4Device56BD = DeviceInfoFactory<GfxDeviceInfo>::
+ RegisterDevice(0x56BD, &dg2Gt4Info);
+
static bool dg2Gt4Device56B2 = DeviceInfoFactory<GfxDeviceInfo>::
RegisterDevice(0x56B2, &dg2Gt4Info);
--
2.40.1