[igt-dev] [i-g-t] lib: sync i915_pciids.h with kernel

Petri Latvala petri.latvala at intel.com
Wed Apr 20 13:50:32 UTC 2022


On Wed, Apr 20, 2022 at 06:19:20PM +0530, Talla Raviteja Goud wrote:
> From: Tejas Upadhyay <tejaskumarx.surendrakumar.upadhyay at intel.com>
> 
> Adding Raptor lake P platform definitions
> 
> Signed-off-by: Adam Miszczak <adam.miszczak at intel.com>
> Signed-off-by: Tejas Upadhyay <tejaskumarx.surendrakumar.upadhyay at intel.com>
> Signed-off-by: Raviteja Goud Talla <ravitejax.goud.talla at intel.com>

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
> 


More information about the igt-dev mailing list