Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 0/3] Sync i915_pciid.h
@ 2024-01-10  8:15 Chaitanya Kumar Borah
  2024-01-10  8:15 ` [PATCH i-g-t 1/3] lib/i915/perf: include i915_pciids_local.h Chaitanya Kumar Borah
                   ` (7 more replies)
  0 siblings, 8 replies; 15+ messages in thread
From: Chaitanya Kumar Borah @ 2024-01-10  8:15 UTC (permalink / raw)
  To: igt-dev

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 (3):
  lib/i915/perf: include i915_pciids_local.h
  lib: Add non-kernel macros to i915_pciids_local.h
  lib: sync i915_pciids.h with kernel

 lib/i915/perf.c         |  1 +
 lib/i915_pciids.h       | 56 ++++++++++++++++++-----------------------
 lib/i915_pciids_local.h | 38 ++++++++++++++++++++++++++++
 3 files changed, 64 insertions(+), 31 deletions(-)

-- 
2.25.1

^ permalink raw reply	[flat|nested] 15+ messages in thread
* [PATCH i-g-t 0/3] Sync i915_pciid.h
@ 2024-01-09  6:09 Chaitanya Kumar Borah
  0 siblings, 0 replies; 15+ messages in thread
From: Chaitanya Kumar Borah @ 2024-01-09  6:09 UTC (permalink / raw)
  To: igt-dev

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 (3):
  lib/i915/perf: include i915_pciid_local.h
  lib: Add non-kernel macros to i915_pciids_local.h
  lib: sync i915_pciids.h with kernel

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

-- 
2.25.1

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2024-01-17 10:04 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-10  8:15 [PATCH i-g-t 0/3] Sync i915_pciid.h Chaitanya Kumar Borah
2024-01-10  8:15 ` [PATCH i-g-t 1/3] lib/i915/perf: include i915_pciids_local.h Chaitanya Kumar Borah
2024-01-11 10:02   ` Kamil Konieczny
2024-01-10  8:15 ` [PATCH i-g-t 2/3] lib: Add non-kernel macros to i915_pciids_local.h Chaitanya Kumar Borah
2024-01-11 11:08   ` Kamil Konieczny
2024-01-11 11:11     ` Borah, Chaitanya Kumar
2024-01-11 11:13   ` Kamil Konieczny
2024-01-10  8:15 ` [PATCH i-g-t 3/3] lib: sync i915_pciids.h with kernel Chaitanya Kumar Borah
2024-01-11 10:54   ` Kamil Konieczny
2024-01-10 12:16 ` ✓ CI.xeBAT: success for Sync i915_pciid.h (rev3) Patchwork
2024-01-10 12:20 ` ✓ Fi.CI.BAT: " Patchwork
2024-01-10 14:11 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-01-10 14:45 ` [PATCH i-g-t 0/3] Sync i915_pciid.h Juha-Pekka Heikkila
2024-01-17 10:04 ` ✓ Fi.CI.IGT: success for Sync i915_pciid.h (rev3) Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2024-01-09  6:09 [PATCH i-g-t 0/3] Sync i915_pciid.h Chaitanya Kumar Borah

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox