From fd6cd0462f6a36b65d2dc8eaf09a7da4316bdce6 Mon Sep 17 00:00:00 2001
From: huangli2018
Date: Wed, 27 Sep 2023 13:49:11 +0800
Subject: [PATCH] [Decode] Fix RPL device id issue
Fix RPL device id issue
---
.../linux/gen12/ddi/media_sysinfo_g12.cpp | 25 ++++++++++---------
1 file changed, 13 insertions(+), 12 deletions(-)
diff --git a/media_driver/linux/gen12/ddi/media_sysinfo_g12.cpp b/media_driver/linux/gen12/ddi/media_sysinfo_g12.cpp
index d9f73dbe3a3..7178b4eaa5c 100644
--- a/media_driver/linux/gen12/ddi/media_sysinfo_g12.cpp
+++ b/media_driver/linux/gen12/ddi/media_sysinfo_g12.cpp
@@ -419,18 +419,6 @@ static bool rplsGt1DeviceA78A = DeviceInfoFactory::
static bool rplsGt1DeviceA78B = DeviceInfoFactory::
RegisterDevice(0xA78B, &adlsGt1Info);
-static bool rplsGt1DeviceA7AA = DeviceInfoFactory::
- RegisterDevice(0xA7AA, &adlsGt1Info);
-
-static bool rplsGt1DeviceA7AB = DeviceInfoFactory::
- RegisterDevice(0xA7AB, &adlsGt1Info);
-
-static bool rplsGt1DeviceA7AC = DeviceInfoFactory::
- RegisterDevice(0xA7AC, &adlsGt1Info);
-
-static bool rplsGt1DeviceA7AD = DeviceInfoFactory::
- RegisterDevice(0xA7AD, &adlsGt1Info);
-
#endif
@@ -527,6 +515,19 @@ static bool rplpGt2DeviceA721 = DeviceInfoFactory::
static bool rplpGt2DeviceA7A9 = DeviceInfoFactory::
RegisterDevice(0xA7A9, &adlpGt2Info);
+
+static bool rplGt2DeviceA7AA = DeviceInfoFactory::
+ RegisterDevice(0xA7AA, &adlpGt2Info);
+
+static bool rplGt2DeviceA7AB = DeviceInfoFactory::
+ RegisterDevice(0xA7AB, &adlpGt2Info);
+
+static bool rplGt2DeviceA7AC = DeviceInfoFactory::
+ RegisterDevice(0xA7AC, &adlpGt2Info);
+
+static bool rplGt2DeviceA7AD = DeviceInfoFactory::
+ RegisterDevice(0xA7AD, &adlpGt2Info);
+
#endif
#ifdef IGFX_GEN12_ADLN_SUPPORTED