From: Jeevan B <jeevan.b@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t] lib/mtl: Add Meteorlake platform definition
Date: Fri, 25 Nov 2022 14:34:01 +0530 [thread overview]
Message-ID: <20221125090401.13539-1-jeevan.b@intel.com> (raw)
Signed-off-by: Jeevan B <jeevan.b@intel.com>
---
lib/intel_chipset.h | 2 ++
lib/intel_device_info.c | 11 +++++++++++
2 files changed, 13 insertions(+)
diff --git a/lib/intel_chipset.h b/lib/intel_chipset.h
index d7a6ff19..9b39472a 100644
--- a/lib/intel_chipset.h
+++ b/lib/intel_chipset.h
@@ -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)
diff --git a/lib/intel_device_info.c b/lib/intel_device_info.c
index ebfcea73..68dd17ee 100644
--- a/lib/intel_device_info.c
+++ b/lib/intel_device_info.c
@@ -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),
};
--
2.36.0
next reply other threads:[~2022-11-25 9:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-25 9:04 Jeevan B [this message]
2022-11-25 9:31 ` [igt-dev] [PATCH i-g-t] lib/mtl: Add Meteorlake platform definition Hogander, Jouni
2022-11-25 10:05 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221125090401.13539-1-jeevan.b@intel.com \
--to=jeevan.b@intel.com \
--cc=igt-dev@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox