Skip to contentSkip to conversation

lib/mtl: Add Meteorlake platform definition

PATCH In review Jeevan B 3 participants 3 messages Nov 25, 2022 Library code

lore
Share & tools
lore

Jeevan B

author
#0 lore raw

PATCH 1/1 lib/mtl: Add Meteorlake platform definition

---
 lib/intel_chipset.h     |  2 ++
 lib/intel_device_info.c | 11 +++++++++++
 2 files changed, 13 insertions(+)
lib/intel_chipset.h +2 -0
index d7a6ff19..9b39472a 100644
@@ -85,6 +85,7 @@ struct intel_device_info {
 	bool is_raptorlake_s : 1;
 	bool is_alderlake_p : 1;
 	bool is_alderlake_n : 1;
+	bool is_meteorlake : 1;
 	const char *codename;
 };
 
@@ -194,6 +195,7 @@ void intel_check_pch(void);
 #define IS_RAPTORLAKE_S(devid)	(intel_get_device_info(devid)->is_raptorlake_s)
 #define IS_ALDERLAKE_P(devid)	(intel_get_device_info(devid)->is_alderlake_p)
 #define IS_ALDERLAKE_N(devid)	(intel_get_device_info(devid)->is_alderlake_n)
+#define IS_METEORLAKE(devid)	(intel_get_device_info(devid)->is_meteorlake)
 
 #define IS_GEN(devid, x)	(intel_get_device_info(devid)->graphics_ver == x)
 #define AT_LEAST_GEN(devid, x)	(intel_get_device_info(devid)->graphics_ver >= x)
lib/intel_device_info.c +11 -0
index ebfcea73..68dd17ee 100644
@@ -439,6 +439,15 @@ static const struct intel_device_info intel_ats_m_info = {
 	.has_flatccs = true,
 };
 
+static const struct intel_device_info intel_meteorlake_info = {
+	.graphics_ver = 12,
+	.graphics_rel = 70,
+	.display_ver = 14,
+	.has_4tile = true,
+	.is_meteorlake = true,
+	.codename = "meteorlake"
+};
+
 static const struct pci_id_match intel_device_match[] = {
 	INTEL_I810_IDS(&intel_i810_info),
 	INTEL_I815_IDS(&intel_i815_info),
@@ -538,6 +547,8 @@ static const struct pci_id_match intel_device_match[] = {
 
 	INTEL_ATS_M_IDS(&intel_ats_m_info),
 
+	INTEL_MTL_IDS(&intel_meteorlake_info),
+
 	INTEL_VGA_DEVICE(PCI_MATCH_ANY, &intel_generic_info),
 };
 
Signature · 1 line
2.36.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 63 lines · Jeevan B

---
 lib/intel_chipset.h     |  2 ++
 lib/intel_device_info.c | 11 +++++++++++

 2 files changed, 13 insertions(+)
lib/intel_chipset.h +1 -0
index d7a6ff19..9b39472a 100644
@@ -85,6 +85,7 @@ struct intel_device_info {
         bool is_raptorlake_s : 1;
         bool is_alderlake_p : 1;
         bool is_alderlake_n : 1;
+       bool is_meteorlake : 1;
         const char *codename;
  };

lib/intel_chipset.h +1 -0
@@ -194,6 +195,7 @@ void intel_check_pch(void);
  #define IS_RAPTORLAKE_S(devid) (intel_get_device_info(devid)-
 >is_raptorlake_s)
  #define IS_ALDERLAKE_P(devid)  (intel_get_device_info(devid)-
 >is_alderlake_p)
  #define IS_ALDERLAKE_N(devid)  (intel_get_device_info(devid)-
 >is_alderlake_n)
+#define IS_METEORLAKE(devid)   (intel_get_device_info(devid)-
Quoted 1 line

is_meteorlake)


 #define IS_GEN(devid, x)       (intel_get_device_info(devid)-

Quoted 1 line

graphics_ver == x)

 #define AT_LEAST_GEN(devid, x) (intel_get_device_info(devid)-

Quoted 1 line

graphics_ver >= x)

lib/intel_device_info.c +0 -0
index ebfcea73..68dd17ee 100644
@@ -439,6 +439,15 @@ static const struct intel_device_info
 intel_ats_m_info = {
         .has_flatccs = true,
  };

lib/intel_device_info.c +9 -0
+static const struct intel_device_info intel_meteorlake_info = {
+       .graphics_ver = 12,
+       .graphics_rel = 70,
+       .display_ver = 14,
+       .has_4tile = true,
+       .is_meteorlake = true,
+       .codename = "meteorlake"
+};
+

 static const struct pci_id_match intel_device_match[] = { INTEL_I810_IDS(&intel_i810_info), INTEL_I815_IDS(&intel_i815_info),

lib/intel_device_info.c +0 -0
@@ -538,6 +547,8 @@ static const struct pci_id_match
 intel_device_match[] = {


        INTEL_ATS_M_IDS(&intel_ats_m_info),

+       INTEL_MTL_IDS(&intel_meteorlake_info),
+
        INTEL_VGA_DEVICE(PCI_MATCH_ANY, &intel_generic_info), };

#2 lore raw

[igt-dev] ✓ Fi.CI.BAT: success for lib/mtl: Add Meteorlake platform definition

In reply to Jeevan B
== Series Details ==

== Series Details ==

Series: lib/mtl: Add Meteorlake platform definition
URL : https://patchwork.freedesktop.org/series/111330/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_12434 -> IGTPW_8153
====================================================

Summary
-------

**SUCCESS**

No regressions found.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8153/index.html

Participating hosts (36 -> 36)
------------------------------

Additional (2): fi-bdw-gvtdvm fi-cfl-guc
Missing (2): fi-ctg-p8600 fi-rkl-11600

Known issues
------------

Here are the changes found in IGTPW_8153 that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@gem_lmem_swapping@verify-random:
- fi-cfl-guc: NOTRUN -> [SKIP][1] ([fdo#109271] / [i915#4613]) +3 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8153/fi-cfl-guc/igt@[email protected]

* igt@i915_suspend@basic-s2idle-without-i915:
- fi-bdw-gvtdvm: NOTRUN -> [INCOMPLETE][2] ([i915#146])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8153/fi-bdw-gvtdvm/igt@[email protected]

* igt@kms_chamelium@common-hpd-after-suspend:
- bat-adlp-4: NOTRUN -> [SKIP][3] ([fdo#111827])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8153/bat-adlp-4/igt@[email protected]

* igt@kms_chamelium@dp-crc-fast:
- fi-cfl-guc: NOTRUN -> [SKIP][4] ([fdo#109271] / [fdo#111827]) +8 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8153/fi-cfl-guc/igt@[email protected]

* igt@kms_chamelium@hdmi-hpd-fast:
- fi-bdw-gvtdvm: NOTRUN -> [SKIP][5] ([fdo#109271] / [fdo#111827]) +7 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8153/fi-bdw-gvtdvm/igt@[email protected]

* igt@kms_flip@basic-plain-flip:
- fi-bdw-gvtdvm: NOTRUN -> [SKIP][6] ([fdo#109271]) +38 similar issues
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8153/fi-bdw-gvtdvm/igt@[email protected]

* igt@kms_pipe_crc_basic@suspend-read-crc:
- bat-adlp-4: NOTRUN -> [SKIP][7] ([i915#3546])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8153/bat-adlp-4/igt@[email protected]

* igt@prime_vgem@basic-userptr:
- fi-cfl-guc: NOTRUN -> [SKIP][8] ([fdo#109271]) +9 similar issues
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8153/fi-cfl-guc/igt@[email protected]

#### Possible fixes ####

* igt@fbdev@read:
- {bat-rpls-2}: [SKIP][9] ([i915#2582]) -> [PASS][10] +4 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12434/bat-rpls-2/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8153/bat-rpls-2/igt@[email protected]

* igt@gem_exec_gttfill@basic:
- fi-pnv-d510: [FAIL][11] ([i915#7229]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12434/fi-pnv-d510/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8153/fi-pnv-d510/igt@[email protected]

* igt@i915_selftest@live@migrate:
- bat-adlp-4: [INCOMPLETE][13] ([i915#7308] / [i915#7348]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12434/bat-adlp-4/igt@i915_selftest@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8153/bat-adlp-4/igt@i915_selftest@[email protected]

* igt@i915_selftest@live@requests:
- {bat-rpls-1}: [INCOMPLETE][15] ([i915#4983] / [i915#6257]) -> [PASS][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12434/bat-rpls-1/igt@i915_selftest@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8153/bat-rpls-1/igt@i915_selftest@[email protected]

* igt@kms_frontbuffer_tracking@basic:
- {bat-rpls-2}: [SKIP][17] ([i915#1849]) -> [PASS][18]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12434/bat-rpls-2/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8153/bat-rpls-2/igt@[email protected]

* igt@prime_vgem@basic-fence-flip:
- {bat-rpls-2}: [SKIP][19] ([fdo#109295] / [i915#1845] / [i915#3708]) -> [PASS][20]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12434/bat-rpls-2/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8153/bat-rpls-2/igt@[email protected]

{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).

[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#146]: https://gitlab.freedesktop.org/drm/intel/issues/146
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849
[i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582
[i915#3546]: https://gitlab.freedesktop.org/drm/intel/issues/3546
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5153]: https://gitlab.freedesktop.org/drm/intel/issues/5153
[i915#5278]: https://gitlab.freedesktop.org/drm/intel/issues/5278
[i915#6106]: https://gitlab.freedesktop.org/drm/intel/issues/6106
[i915#6257]: https://gitlab.freedesktop.org/drm/intel/issues/6257
[i915#7229]: https://gitlab.freedesktop.org/drm/intel/issues/7229
[i915#7308]: https://gitlab.freedesktop.org/drm/intel/issues/7308
[i915#7348]: https://gitlab.freedesktop.org/drm/intel/issues/7348

Build changes
-------------

* CI: CI-20190529 -> None
* IGT: IGT_7072 -> IGTPW_8153

CI-20190529: 20190529
CI_DRM_12434: 985931f189852e505af573997ddbf63bfbe2570b @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_8153: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8153/index.html
IGT_7072: 69ba7163475925cdc69aebbdfa0e87453ae165c7 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8153/index.html