intel/dev: Enable MTL PCI ids
authorJordan Justen <jordan.l.justen@intel.com>
Tue, 26 Jan 2021 07:01:52 +0000 (23:01 -0800)
committerMarge Bot <emma+marge@anholt.net>
Mon, 13 Mar 2023 10:17:51 +0000 (10:17 +0000)
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>

include/pci_ids/iris_pci_ids.h
src/intel/dev/intel_device_info.c

index fdafc0e..da37b56 100644 (file)
@@ -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")
index 08637c1..cf85eb4 100644 (file)
@@ -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,
 };