[PATCH libdrm 2/3] intel: add the TGL 12 PCI IDs and macros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Rodrigo Vivi <rodrigo.vivi@xxxxxxxxx>

Cc: Rodrigo Vivi <rodrigo.vivi@xxxxxxxxx>
Signed-off-by: Lucas De Marchi <lucas.demarchi@xxxxxxxxx>
---
 intel/intel_chipset.c | 1 +
 intel/intel_chipset.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/intel/intel_chipset.c b/intel/intel_chipset.c
index 5aa4a2f2..157c2c7d 100644
--- a/intel/intel_chipset.c
+++ b/intel/intel_chipset.c
@@ -35,6 +35,7 @@ static const struct pci_device {
 	uint16_t gen;
 } pciids[] = {
 	/* Keep ids sorted by gen; latest gen first */
+	INTEL_TGL_12_IDS(12),
 	INTEL_ICL_11_IDS(11),
 	INTEL_CNL_IDS(10),
 	INTEL_CFL_IDS(9),
diff --git a/intel/intel_chipset.h b/intel/intel_chipset.h
index 5db207cc..0a48e0da 100644
--- a/intel/intel_chipset.h
+++ b/intel/intel_chipset.h
@@ -337,6 +337,7 @@ drm_private bool intel_get_genx(unsigned int devid, int *gen);
 #define IS_GEN9(devid) intel_is_genx(devid, 9)
 #define IS_GEN10(devid) intel_is_genx(devid, 10)
 #define IS_GEN11(devid) intel_is_genx(devid, 11)
+#define IS_GEN12(devid) intel_is_genx(devid, 12)
 
 #define IS_9XX(dev)		(IS_GEN3(dev) || \
 				 IS_GEN4(dev) || \
-- 
2.21.0

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux