[PATCH] lib: sync i915_pciids.h with kernel

Juha-Pekka Heikkila juhapekka.heikkila at gmail.com
Wed Dec 13 13:17:22 UTC 2023


This is not correct. This does not synchronize with kernel commit. 
i915_pciids.h is supposed to be copied as is from kernel. Also don't do 
other changes in same patch, put intel_device_info.c changes into their 
own patch.

You can see "git log lib/i915_pciids.h" for examples, sans two latest 
changes into the file. Two two latest changes are broken.

/Juha-Pekka

On 12.12.2023 11.08, Chaitanya Kumar Borah wrote:
> This synchronizes with kernel commit
> 
> 8940da9fe5f27 ("drm/i915/mtl: Adding DeviceID for Arrowlake-S under MTL")
> to bring in ARL-S PCI IDs.
> 
> Signed-off-by: Chaitanya Kumar Borah <chaitanya.kumar.borah at intel.com>
> ---
>   lib/i915_pciids.h       | 4 ++++
>   lib/intel_device_info.c | 1 +
>   2 files changed, 5 insertions(+)
> 
> diff --git a/lib/i915_pciids.h b/lib/i915_pciids.h
> index bee58554d..106e42f84 100644
> --- a/lib/i915_pciids.h
> +++ b/lib/i915_pciids.h
> @@ -750,6 +750,10 @@
>   	INTEL_MTL_M_IDS(info), \
>   	INTEL_MTL_P_IDS(info)
>   
> +/* ARL-S */
> +#define INTEL_ARLS_IDS(info) \
> +	INTEL_VGA_DEVICE(0x7D67, info)
> +
>   /* PVC */
>   #define INTEL_PVC_IDS(info) \
>   	INTEL_VGA_DEVICE(0x0BD0, info),	\
> diff --git a/lib/intel_device_info.c b/lib/intel_device_info.c
> index 34817f7b6..48036bec5 100644
> --- a/lib/intel_device_info.c
> +++ b/lib/intel_device_info.c
> @@ -614,6 +614,7 @@ static const struct pci_id_match intel_device_match[] = {
>   	INTEL_ATS_M_IDS(&intel_ats_m_info),
>   
>   	INTEL_MTL_IDS(&intel_meteorlake_info),
> +	INTEL_ARLS_IDS(&intel_meteorlake_info),
>   
>   	INTEL_PVC_IDS(&intel_pontevecchio_info),
>   



More information about the igt-dev mailing list