Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
To: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Cc: igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH i-g-t v2 4/8] pciids/i915: break TGL into GT1/2
Date: Thu, 3 Sep 2020 18:55:45 +0300	[thread overview]
Message-ID: <864080a8-08a0-b3bd-e1b8-c4e133833f68@intel.com> (raw)
In-Reply-To: <20200903155048.GA27656@orsosgc001.ra.intel.com>

On 03/09/2020 18:50, Umesh Nerlige Ramappa wrote:
> Minor comment below.
>
> Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
>
> Thanks,
> Umesh
>
> On Mon, Aug 31, 2020 at 06:09:47PM +0300, Lionel Landwerlin wrote:
>> Align with kernel commit:
>> d452bd091e168f ("drm/i915: break TGL pci-ids in GT 1 & 2")
>>
>> Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
>> ---
>> lib/i915_pciids.h       | 14 ++++++++++----
>> lib/intel_device_info.c | 15 ++++++++++++---
>> 2 files changed, 22 insertions(+), 7 deletions(-)
>>
>> diff --git a/lib/i915_pciids.h b/lib/i915_pciids.h
>> index 8e7ae30e..7eeecb07 100644
>> --- a/lib/i915_pciids.h
>> +++ b/lib/i915_pciids.h
>> @@ -594,19 +594,25 @@
>>     INTEL_VGA_DEVICE(0x4E51, info)
>>
>> /* TGL */
>> -#define INTEL_TGL_12_IDS(info) \
>> +#define INTEL_TGL_12_GT1_IDS(info) \
>> +    INTEL_VGA_DEVICE(0x9A60, info), \
>> +    INTEL_VGA_DEVICE(0x9A68, info), \
>> +    INTEL_VGA_DEVICE(0x9A70, info)
>> +
>> +#define INTEL_TGL_12_GT2_IDS(info) \
>>     INTEL_VGA_DEVICE(0x9A40, info), \
>>     INTEL_VGA_DEVICE(0x9A49, info), \
>>     INTEL_VGA_DEVICE(0x9A59, info), \
>> -    INTEL_VGA_DEVICE(0x9A60, info), \
>> -    INTEL_VGA_DEVICE(0x9A68, info), \
>> -    INTEL_VGA_DEVICE(0x9A70, info), \
>>     INTEL_VGA_DEVICE(0x9A78, info), \
>>     INTEL_VGA_DEVICE(0x9AC0, info), \
>>     INTEL_VGA_DEVICE(0x9AC9, info), \
>>     INTEL_VGA_DEVICE(0x9AD9, info), \
>>     INTEL_VGA_DEVICE(0x9AF8, info)
>>
>> +#define INTEL_TGL_12_IDS(info) \
>> +    INTEL_TGL_12_GT1_IDS(info), \
>> +    INTEL_TGL_12_GT2_IDS(info)
>
> I think now INTEL_TGL_12_IDS is unused.


Yeah it's unused here, but used in the kernel and we just copy that file 
over apparently.


-Lionel


>
>> +
>> /* RKL */
>> #define INTEL_RKL_IDS(info) \
>>     INTEL_VGA_DEVICE(0x4C80, info), \
>> diff --git a/lib/intel_device_info.c b/lib/intel_device_info.c
>> index d5f70156..e1132d9c 100644
>> --- a/lib/intel_device_info.c
>> +++ b/lib/intel_device_info.c
>> @@ -315,10 +315,18 @@ static const struct intel_device_info 
>> intel_elkhartlake_info = {
>>     .codename = "elkhartlake"
>> };
>>
>> -static const struct intel_device_info intel_tigerlake_info = {
>> +static const struct intel_device_info intel_tigerlake_gt1_info = {
>>     .gen = BIT(11),
>>     .is_tigerlake = true,
>> -    .codename = "tigerlake"
>> +    .codename = "tigerlake",
>> +    .gt = 1,
>> +};
>> +
>> +static const struct intel_device_info intel_tigerlake_gt2_info = {
>> +    .gen = BIT(11),
>> +    .is_tigerlake = true,
>> +    .codename = "tigerlake",
>> +    .gt = 2,
>> };
>>
>> static const struct intel_device_info intel_rocketlake_info = {
>> @@ -416,7 +424,8 @@ static const struct pci_id_match 
>> intel_device_match[] = {
>>
>>     INTEL_EHL_IDS(&intel_elkhartlake_info),
>>
>> -    INTEL_TGL_12_IDS(&intel_tigerlake_info),
>> +    INTEL_TGL_12_GT1_IDS(&intel_tigerlake_gt1_info),
>> +    INTEL_TGL_12_GT2_IDS(&intel_tigerlake_gt2_info),
>>     INTEL_RKL_IDS(&intel_rocketlake_info),
>>
>>     INTEL_DG1_IDS(&intel_dg1_info),
>> -- 
>> 2.28.0
>>
>> _______________________________________________
>> igt-dev mailing list
>> igt-dev@lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/igt-dev


_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

  reply	other threads:[~2020-09-03 15:55 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-31 15:09 [igt-dev] [PATCH i-g-t v2 0/8] lib/i915/perf: Add new platform metrics Lionel Landwerlin
2020-08-31 15:09 ` [igt-dev] [PATCH i-g-t v2 1/8] lib/i915_perf: drop dependency on libigt Lionel Landwerlin
2020-08-31 15:09 ` [igt-dev] [PATCH i-g-t v2 2/8] lib/i915/perf: fixup converter script Lionel Landwerlin
2020-08-31 15:09 ` [igt-dev] [PATCH i-g-t v2 3/8] lib/i915/perf: small ICL equation refactor Lionel Landwerlin
2020-08-31 15:09 ` [igt-dev] [PATCH i-g-t v2 4/8] pciids/i915: break TGL into GT1/2 Lionel Landwerlin
2020-08-31 22:20   ` Dixit, Ashutosh
2020-09-03 15:50   ` Umesh Nerlige Ramappa
2020-09-03 15:55     ` Lionel Landwerlin [this message]
2020-08-31 15:09 ` [igt-dev] [PATCH i-g-t v2 5/8] lib/i915/perf: break TGL metrics in 2 Lionel Landwerlin
2020-08-31 15:09 ` [igt-dev] [PATCH i-g-t v2 6/8] lib/i915/perf: add AsyncCompute metrics Lionel Landwerlin
2020-08-31 15:09 ` [igt-dev] [PATCH i-g-t v2 7/8] lib/i915/perf: Add Rocketlake metrics Lionel Landwerlin
2020-08-31 15:09 ` [igt-dev] [PATCH i-g-t v2 8/8] lib/i915/perf: Add DG1 metrics Lionel Landwerlin
2020-08-31 16:00 ` [igt-dev] ✓ Fi.CI.BAT: success for lib/i915/perf: Add new platform metrics (rev2) Patchwork
2020-08-31 22:20 ` [igt-dev] [PATCH i-g-t v2 0/8] lib/i915/perf: Add new platform metrics Dixit, Ashutosh
2020-08-31 23:50 ` [igt-dev] ✓ Fi.CI.IGT: success for lib/i915/perf: Add new platform metrics (rev2) 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=864080a8-08a0-b3bd-e1b8-c4e133833f68@intel.com \
    --to=lionel.g.landwerlin@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=umesh.nerlige.ramappa@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