From 48ff68820e83565154d8cfb86587c0134f0deb98 Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Mon, 25 Jan 2021 23:01:52 -0800 Subject: [PATCH] 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 Signed-off-by: Lionel Landwerlin Reviewed-by: Kenneth Graunke Part-of: --- include/pci_ids/iris_pci_ids.h | 10 +++++----- src/intel/dev/intel_device_info.c | 4 ++-- 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 fdafc0e..da37b56 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 08637c1..cf85eb4 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, }; -- 2.7.4