Blame SOURCES/0001-intel-Introducing-Amber-Lake-platform.patch

ed65e5
From 7164abebecfbf450cdc55133eb3162f8c1501ff3 Mon Sep 17 00:00:00 2001
ed65e5
From: =?UTF-8?q?Jos=C3=A9=20Roberto=20de=20Souza?= <jose.souza@intel.com>
ed65e5
Date: Tue, 19 Jun 2018 16:45:21 -0700
ed65e5
Subject: [PATCH libdrm] intel: Introducing Amber Lake platform
ed65e5
MIME-Version: 1.0
ed65e5
Content-Type: text/plain; charset=UTF-8
ed65e5
Content-Transfer-Encoding: 8bit
ed65e5
ed65e5
Amber Lake uses the same gen graphics as Kaby Lake, including a id
ed65e5
that were previously marked as reserved on Kaby Lake, but that now is
ed65e5
moved to AML page.
ed65e5
ed65e5
So, let's just move it to AML macro that will feed into KBL macro
ed65e5
just to keep it better organized to make easier future code review
ed65e5
but it will be handled as a KBL.
ed65e5
ed65e5
This is a copy of merged i915's
ed65e5
commit e364672477a1 ("drm/i915/aml: Introducing Amber Lake platform")
ed65e5
ed65e5
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
ed65e5
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
ed65e5
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
ed65e5
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
ed65e5
---
ed65e5
 intel/intel_chipset.h | 9 ++++++---
ed65e5
 1 file changed, 6 insertions(+), 3 deletions(-)
ed65e5
ed65e5
diff --git a/intel/intel_chipset.h b/intel/intel_chipset.h
ed65e5
index 44e65f9e..583d6447 100644
ed65e5
--- a/intel/intel_chipset.h
ed65e5
+++ b/intel/intel_chipset.h
ed65e5
@@ -201,7 +201,6 @@
ed65e5
 #define PCI_CHIP_KABYLAKE_ULX_GT1_5	0x5915
ed65e5
 #define PCI_CHIP_KABYLAKE_ULX_GT1	0x590E
ed65e5
 #define PCI_CHIP_KABYLAKE_ULX_GT2_0	0x591E
ed65e5
-#define PCI_CHIP_KABYLAKE_ULX_GT2_1	0x591C
ed65e5
 #define PCI_CHIP_KABYLAKE_DT_GT2	0x5912
ed65e5
 #define PCI_CHIP_KABYLAKE_M_GT2		0x5917
ed65e5
 #define PCI_CHIP_KABYLAKE_DT_GT1	0x5902
ed65e5
@@ -213,6 +212,9 @@
ed65e5
 #define PCI_CHIP_KABYLAKE_SRV_GT1	0x590A
ed65e5
 #define PCI_CHIP_KABYLAKE_WKS_GT2	0x591D
ed65e5
 
ed65e5
+#define PCI_CHIP_AMBERLAKE_ULX_GT2_1	0x591C
ed65e5
+#define PCI_CHIP_AMBERLAKE_ULX_GT2_2	0x87C0
ed65e5
+
ed65e5
 #define PCI_CHIP_BROXTON_0		0x0A84
ed65e5
 #define PCI_CHIP_BROXTON_1		0x1A84
ed65e5
 #define PCI_CHIP_BROXTON_2		0x5A84
ed65e5
@@ -468,12 +470,13 @@
ed65e5
 #define IS_KBL_GT2(devid)	((devid) == PCI_CHIP_KABYLAKE_ULT_GT2	|| \
ed65e5
 				 (devid) == PCI_CHIP_KABYLAKE_ULT_GT2F	|| \
ed65e5
 				 (devid) == PCI_CHIP_KABYLAKE_ULX_GT2_0	|| \
ed65e5
-				 (devid) == PCI_CHIP_KABYLAKE_ULX_GT2_1	|| \
ed65e5
 				 (devid) == PCI_CHIP_KABYLAKE_DT_GT2	|| \
ed65e5
 				 (devid) == PCI_CHIP_KABYLAKE_M_GT2	|| \
ed65e5
 				 (devid) == PCI_CHIP_KABYLAKE_HALO_GT2	|| \
ed65e5
 				 (devid) == PCI_CHIP_KABYLAKE_SRV_GT2	|| \
ed65e5
-				 (devid) == PCI_CHIP_KABYLAKE_WKS_GT2)
ed65e5
+				 (devid) == PCI_CHIP_KABYLAKE_WKS_GT2 || \
ed65e5
+				 (devid) == PCI_CHIP_AMBERLAKE_ULX_GT2_1	|| \
ed65e5
+				 (devid) == PCI_CHIP_AMBERLAKE_ULX_GT2_2)
ed65e5
 
ed65e5
 #define IS_KBL_GT3(devid)	((devid) == PCI_CHIP_KABYLAKE_ULT_GT3_0	|| \
ed65e5
 				 (devid) == PCI_CHIP_KABYLAKE_ULT_GT3_1	|| \
ed65e5
-- 
ed65e5
2.17.1
ed65e5