public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Antonio Argenziano <antonio.argenziano@intel.com>
To: Petri Latvala <petri.latvala@intel.com>, igt-dev@lists.freedesktop.org
Cc: Anusha Srivatsa <anusha.srivatsa@intel.com>,
	Lucas De Marchi <lucas.demarchi@intel.com>
Subject: Re: [igt-dev] [PATCH i-g-t] lib: Add Cometlake platform definition
Date: Thu, 25 Apr 2019 08:41:50 -0700	[thread overview]
Message-ID: <981141c0-aba2-b794-14ca-ce0c04ebb7a5@intel.com> (raw)
In-Reply-To: <20190425130045.14176-1-petri.latvala@intel.com>



On 25/04/19 06:00, Petri Latvala wrote:
> Commit a794f28f01f2 ("lib: sync with the newer i915_pciids.h from the
> Kernel") added CML PCI IDs but did not update intel_device_info.c

LGTM,

Acked-by: Antonio Argenziano <antonio.argenziano@intel.com>

> 
> Signed-off-by: Petri Latvala <petri.latvala@intel.com>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110514
> Cc: Antonio Argenziano <antonio.argenziano@intel.com>
> Cc: Anusha Srivatsa <anusha.srivatsa@intel.com>
> Cc: Lucas De Marchi <lucas.demarchi@intel.com>
> Cc: José Roberto de Souza <jose.souza@intel.com>
> ---
>   lib/intel_chipset.h     |  1 +
>   lib/intel_device_info.c | 18 ++++++++++++++++++
>   2 files changed, 19 insertions(+)
> 
> diff --git a/lib/intel_chipset.h b/lib/intel_chipset.h
> index 40170b7b..7fc9bd77 100644
> --- a/lib/intel_chipset.h
> +++ b/lib/intel_chipset.h
> @@ -66,6 +66,7 @@ struct intel_device_info {
>   	bool is_kabylake : 1;
>   	bool is_geminilake : 1;
>   	bool is_coffeelake : 1;
> +	bool is_cometlake : 1;
>   	bool is_cannonlake : 1;
>   	bool is_icelake : 1;
>   	const char *codename;
> diff --git a/lib/intel_device_info.c b/lib/intel_device_info.c
> index 2bca5183..3f51211f 100644
> --- a/lib/intel_device_info.c
> +++ b/lib/intel_device_info.c
> @@ -277,6 +277,21 @@ static const struct intel_device_info intel_coffeelake_gt3_info = {
>   	.gt = 3,
>   };
>   
> +#define COMETLAKE_FIELDS \
> +	.gen = BIT(8), \
> +	.is_cometlake = true, \
> +	.codename = "cometlake"
> +
> +static const struct intel_device_info intel_cometlake_gt1_info = {
> +	COMETLAKE_FIELDS,
> +	.gt = 1,
> +};
> +
> +static const struct intel_device_info intel_cometlake_gt2_info = {
> +	COMETLAKE_FIELDS,
> +	.gt = 2,
> +};
> +
>   static const struct intel_device_info intel_cannonlake_info = {
>   	.gen = BIT(9),
>   	.is_cannonlake = true,
> @@ -360,6 +375,9 @@ static const struct pci_id_match intel_device_match[] = {
>   	INTEL_WHL_U_GT3_IDS(&intel_coffeelake_gt3_info),
>   	INTEL_AML_CFL_GT2_IDS(&intel_coffeelake_gt2_info),
>   
> +	INTEL_CML_GT1_IDS(&intel_cometlake_gt1_info),
> +	INTEL_CML_GT2_IDS(&intel_cometlake_gt2_info),
> +
>   	INTEL_CNL_IDS(&intel_cannonlake_info),
>   
>   	INTEL_ICL_11_IDS(&intel_icelake_info),
> 
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

  parent reply	other threads:[~2019-04-25 15:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-25 13:00 [igt-dev] [PATCH i-g-t] lib: Add Cometlake platform definition Petri Latvala
2019-04-25 13:27 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-04-25 15:41 ` Antonio Argenziano [this message]
2019-04-26  0:07 ` [igt-dev] ✓ Fi.CI.IGT: " 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=981141c0-aba2-b794-14ca-ce0c04ebb7a5@intel.com \
    --to=antonio.argenziano@intel.com \
    --cc=anusha.srivatsa@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=lucas.demarchi@intel.com \
    --cc=petri.latvala@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