From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id 25EBC10E5AC for ; Wed, 20 Apr 2022 13:50:32 +0000 (UTC) Date: Wed, 20 Apr 2022 16:50:32 +0300 From: Petri Latvala To: Talla Raviteja Goud Message-ID: References: <20220420124920.3628871-1-ravitejax.goud.talla@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220420124920.3628871-1-ravitejax.goud.talla@intel.com> Subject: Re: [igt-dev] [i-g-t] lib: sync i915_pciids.h with kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: igt-dev@lists.freedesktop.org Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: On Wed, Apr 20, 2022 at 06:19:20PM +0530, Talla Raviteja Goud wrote: > From: Tejas Upadhyay > > Adding Raptor lake P platform definitions > > Signed-off-by: Adam Miszczak > Signed-off-by: Tejas Upadhyay > Signed-off-by: Raviteja Goud Talla Write the kernel commit sha the file is copied from in the commit message. And change intel_device_info.c in a separate commit. See git log lib/i915_pciids.h for examples. -- Petri Latvala > --- > lib/i915_pciids.h | 9 +++++++++ > lib/intel_device_info.c | 1 + > 2 files changed, 10 insertions(+) > > diff --git a/lib/i915_pciids.h b/lib/i915_pciids.h > index 533890dc..f4b21a26 100644 > --- a/lib/i915_pciids.h > +++ b/lib/i915_pciids.h > @@ -681,4 +681,13 @@ > INTEL_VGA_DEVICE(0xA788, info), \ > INTEL_VGA_DEVICE(0xA789, info) > > +/*RPL-P */ > +#define INTEL_RPLP_IDS(info) \ > + INTEL_VGA_DEVICE(0xA720, info), \ > + INTEL_VGA_DEVICE(0xA721, info), \ > + INTEL_VGA_DEVICE(0xA7A0, info), \ > + INTEL_VGA_DEVICE(0xA7A1, info), \ > + INTEL_VGA_DEVICE(0xA7A8, info), \ > + INTEL_VGA_DEVICE(0xA7A9, info) > + > #endif /* _I915_PCIIDS_H */ > diff --git a/lib/intel_device_info.c b/lib/intel_device_info.c > index e55841df..0253a732 100644 > --- a/lib/intel_device_info.c > +++ b/lib/intel_device_info.c > @@ -521,6 +521,7 @@ static const struct pci_id_match intel_device_match[] = { > INTEL_ADLS_IDS(&intel_alderlake_s_info), > INTEL_RPLS_IDS(&intel_raptorlake_s_info), > INTEL_ADLP_IDS(&intel_alderlake_p_info), > + INTEL_RPLP_IDS(&intel_alderlake_p_info), > INTEL_ADLN_IDS(&intel_alderlake_n_info), > > INTEL_VGA_DEVICE(PCI_MATCH_ANY, &intel_generic_info), > -- > 2.34.1 >