Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Auld <matthew.auld@intel.com>
To: Andrzej Hajda <andrzej.hajda@intel.com>, igt-dev@lists.freedesktop.org
Cc: Ewelina Musial <ewelina.musial@intel.com>,
	Kamil Konieczny <kamil.konieczny@linux.intel.com>,
	"Roper, Matthew D" <matthew.d.roper@intel.com>
Subject: Re: [PATCH 2/2] lib/intel_chipset: add Battlemage support
Date: Mon, 17 Jun 2024 09:38:17 +0100	[thread overview]
Message-ID: <ea23d6da-e054-4c16-a431-6981190c878c@intel.com> (raw)
In-Reply-To: <20240617-bmg_chipset_info-v1-2-289e3215141e@intel.com>

On 17/06/2024 08:51, Andrzej Hajda wrote:
> Add basic definition for the Battlemage platform.
> Follow Lunar Lake convention.
> 
> Signed-off-by: Andrzej Hajda <andrzej.hajda@intel.com>

Reviewed-by: Matthew Auld <matthew.auld@intel.com>

> ---
>   lib/intel_chipset.h     |  2 ++
>   lib/intel_device_info.c | 12 ++++++++++++
>   2 files changed, 14 insertions(+)
> 
> diff --git a/lib/intel_chipset.h b/lib/intel_chipset.h
> index 3f25345199b6..270392c83c2a 100644
> --- a/lib/intel_chipset.h
> +++ b/lib/intel_chipset.h
> @@ -91,6 +91,7 @@ struct intel_device_info {
>   	bool is_meteorlake : 1;
>   	bool is_pontevecchio : 1;
>   	bool is_lunarlake : 1;
> +	bool is_battlemage : 1;
>   	const struct intel_cmds_info *cmds_info;
>   	const char *codename;
>   };
> @@ -205,6 +206,7 @@ void intel_check_pch(void);
>   #define IS_METEORLAKE(devid)	(intel_get_device_info(devid)->is_meteorlake)
>   #define IS_PONTEVECCHIO(devid)	(intel_get_device_info(devid)->is_pontevecchio)
>   #define IS_LUNARLAKE(devid)	(intel_get_device_info(devid)->is_lunarlake)
> +#define IS_BATTLEMAGE(devid)	(intel_get_device_info(devid)->is_battlemage)
>   
>   #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 e80ea54707de..9250abd444db 100644
> --- a/lib/intel_device_info.c
> +++ b/lib/intel_device_info.c
> @@ -515,6 +515,16 @@ static const struct intel_device_info intel_lunarlake_info = {
>   	.cmds_info = &xe2_cmds_info,
>   };
>   
> +static const struct intel_device_info intel_battlemage_info = {
> +	.graphics_ver = 20,
> +	.graphics_rel = 1,
> +	.display_ver = 14,
> +	.has_4tile = true,
> +	.has_flatccs = true,
> +	.is_battlemage = true,
> +	.codename = "battlemage"
> +};
> +
>   static const struct pci_id_match intel_device_match[] = {
>   	INTEL_I810_IDS(INTEL_VGA_DEVICE, &intel_i810_info),
>   	INTEL_I815_IDS(INTEL_VGA_DEVICE, &intel_i815_info),
> @@ -621,6 +631,8 @@ static const struct pci_id_match intel_device_match[] = {
>   
>   	XE_LNL_IDS(INTEL_VGA_DEVICE, &intel_lunarlake_info),
>   
> +	XE_BMG_IDS(INTEL_VGA_DEVICE, &intel_battlemage_info),
> +
>   	INTEL_VGA_DEVICE(PCI_MATCH_ANY, &intel_generic_info),
>   };
>   
> 

  reply	other threads:[~2024-06-17  8:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-17  7:51 [PATCH 0/2] lib/intel_chipset: add Battlemage support Andrzej Hajda
2024-06-17  7:51 ` [PATCH 1/2] lib: sync xe_pciids.h with kernel Andrzej Hajda
2024-06-17  8:34   ` Matthew Auld
2024-06-17 12:37   ` Kamil Konieczny
2024-06-17  7:51 ` [PATCH 2/2] lib/intel_chipset: add Battlemage support Andrzej Hajda
2024-06-17  8:38   ` Matthew Auld [this message]
2024-06-17 12:44   ` Kamil Konieczny
2024-06-17  8:59 ` ✓ CI.xeBAT: success for " Patchwork
2024-06-17  9:01 ` ✓ Fi.CI.BAT: " Patchwork
2024-06-17 12:39 ` ✓ CI.xeFULL: " Patchwork
2024-06-17 22:10 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-06-18  7:31   ` Kamil Konieczny

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=ea23d6da-e054-4c16-a431-6981190c878c@intel.com \
    --to=matthew.auld@intel.com \
    --cc=andrzej.hajda@intel.com \
    --cc=ewelina.musial@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=kamil.konieczny@linux.intel.com \
    --cc=matthew.d.roper@intel.com \
    /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