Module: Mesa
Branch: main
Commit: 48ff68820e83565154d8cfb86587c0134f0deb98
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=48ff68820e83565154d8cfb86587c0134f0deb98

Author: Jordan Justen <[email protected]>
Date:   Mon Jan 25 23:01:52 2021 -0800

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 <[email protected]>
Signed-off-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18481>

---

 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 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,
 };

Reply via email to