Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [PATCH i-g-t 0/2] Sync i915_pciid.h
Date: Fri,  5 Jan 2024 18:16:39 +0530	[thread overview]
Message-ID: <20240105124641.784371-1-chaitanya.kumar.borah@intel.com> (raw)

Our original intent was to add ARL-S PCI IDs to IGT header. The ideal way
to do that would be to sync i915_pciids.h between kernel and IGT.
However, recently both files have diverged. See [2]

We tried adding just the ARL-S PCI ID to the IGT i915_pciids.h but
this will further diverge both the files. Please see the discussions
in [1].

To avoid this, we have decided to use i915_pciids_local.h to move out
any difference between the kernel and IGT header and then sync both
the headers.

I have not tested if the PVC and MTL changes causes any functional issue
but verified that the build works.

[1] https://patchwork.freedesktop.org/patch/572027/?series=50957&rev=15
[2] 17f9914c47c9 (lib: Add Pontevecchio platform)
    77dd5222d165 (v2: Add mtl to perf-metrics-codegen.py (Umesh))
	
Cc: Matt Roper <matthew.d.roper@intel.com> 
Cc: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>

Chaitanya Kumar Borah (2):
  lib/i915/perf: include i915_pciid_local.h
  lib: sync i915_pciids.h with kernel

 lib/i915/perf.c         |  2 +-
 lib/i915_pciids.h       | 56 ++++++++++++++++++-----------------------
 lib/i915_pciids_local.h | 25 ++++++++++++++++++
 3 files changed, 51 insertions(+), 32 deletions(-)

-- 
2.25.1

             reply	other threads:[~2024-01-05 12:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-05 12:46 Chaitanya Kumar Borah [this message]
2024-01-05 12:46 ` [PATCH i-g-t 1/2] lib/i915/perf: include i915_pciid_local.h Chaitanya Kumar Borah
2024-01-05 12:46 ` [PATCH i-g-t 2/2] lib: sync i915_pciids.h with kernel Chaitanya Kumar Borah
2024-01-08 12:40   ` Juha-Pekka Heikkila
2024-01-09  6:21     ` Borah, Chaitanya Kumar
2024-01-05 13:53 ` ✓ CI.xeBAT: success for Sync i915_pciid.h Patchwork
2024-01-05 13:53 ` ✓ Fi.CI.BAT: " Patchwork
2024-01-05 23:39 ` ✗ Fi.CI.IGT: failure " 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=20240105124641.784371-1-chaitanya.kumar.borah@intel.com \
    --to=chaitanya.kumar.borah@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