summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2021-01-25 23:01:52 -0800
committerMarge Bot <emma+marge@anholt.net>2023-03-13 10:17:51 +0000
commit48ff68820e83565154d8cfb86587c0134f0deb98 (patch)
treeb2703583b2ed841140eb41978c434c101cbf4c23
parente28b982db8d6829779f9f575cc13a685ef013541 (diff)
intel/dev: Enable MTL PCI ids
Ref: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/drm/i915_pciids.h?h=v6.0-rc4#n736 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18481>
-rw-r--r--include/pci_ids/iris_pci_ids.h10
-rw-r--r--src/intel/dev/intel_device_info.c4
2 files changed, 7 insertions, 7 deletions
diff --git a/include/pci_ids/iris_pci_ids.h b/include/pci_ids/iris_pci_ids.h
index fdafc0e1ee8..da37b5689df 100644
--- a/include/pci_ids/iris_pci_ids.h
+++ b/include/pci_ids/iris_pci_ids.h
@@ -245,8 +245,8 @@ CHIPSET(0x56b3, dg2_g12, "DG2", "Intel(R) Graphics")
CHIPSET(0x56c0, dg2_g10, "ATS-M", "Intel(R) Data Center GPU Flex Series 170 Graphics")
CHIPSET(0x56c1, dg2_g11, "ATS-M", "Intel(R) Data Center GPU Flex Series 140 Graphics")
-/* CHIPSET(0x7d40, mtl_m, "MTL", "Intel(R) Graphics") */
-/* CHIPSET(0x7d45, mtl_p, "MTL", "Intel(R) Graphics") */
-/* CHIPSET(0x7d55, mtl_p, "MTL", "Intel(R) Graphics") */
-/* CHIPSET(0x7d60, mtl_m, "MTL", "Intel(R) Graphics") */
-/* CHIPSET(0x7dd5, mtl_p, "MTL", "Intel(R) Graphics") */
+CHIPSET(0x7d40, mtl_m, "MTL", "Intel(R) Graphics")
+CHIPSET(0x7d45, mtl_p, "MTL", "Intel(R) Graphics")
+CHIPSET(0x7d55, mtl_p, "MTL", "Intel(R) Graphics")
+CHIPSET(0x7d60, mtl_m, "MTL", "Intel(R) Graphics")
+CHIPSET(0x7dd5, mtl_p, "MTL", "Intel(R) Graphics")
diff --git a/src/intel/dev/intel_device_info.c b/src/intel/dev/intel_device_info.c
index 08637c19abc..cf85eb4d89e 100644
--- a/src/intel/dev/intel_device_info.c
+++ b/src/intel/dev/intel_device_info.c
@@ -1101,12 +1101,12 @@ static const struct intel_device_info intel_device_info_dg2_g12 = {
.has_mesh_shading = true, \
.has_ray_tracing = true
-UNUSED static const struct intel_device_info intel_device_info_mtl_m = {
+static const struct intel_device_info intel_device_info_mtl_m = {
MTL_FEATURES,
.platform = INTEL_PLATFORM_MTL_M,
};
-UNUSED static const struct intel_device_info intel_device_info_mtl_p = {
+static const struct intel_device_info intel_device_info_mtl_p = {
MTL_FEATURES,
.platform = INTEL_PLATFORM_MTL_P,
};