[igt-dev] [PATCH i-g-t 01/17] lib/i915_pciids: PCI IDS for DG2

Petri Latvala petri.latvala at intel.com
Tue Feb 8 06:35:16 UTC 2022


On Mon, Feb 07, 2022 at 11:51:36PM +0530, Jeevan B wrote:
> From: Priyanka Dandamudi <priyanka.dandamudi at intel.com>
> 
> Adds PCI IDS for DG2.
> 
> Signed-off-by: Priyanka Dandamudi <priyanka.dandamudi at intel.com>
> Cc: Adam Miszczak <adam.miszczak at intel.com>
> Cc: Melkaveri, Arjun <arjun.melkaveri at intel.com>
> ---
>  lib/i915_pciids.h | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
> 
> diff --git a/lib/i915_pciids.h b/lib/i915_pciids.h

This file is supposed to be copied from the kernel. The kernel doesn't
have DG2 PCI ids yet, as was pointed out the last time this change was
sent to the mailing list.


-- 
Petri Latvala


> index 533890dc..b4230424 100644
> --- a/lib/i915_pciids.h
> +++ b/lib/i915_pciids.h
> @@ -681,4 +681,23 @@
>  	INTEL_VGA_DEVICE(0xA788, info), \
>  	INTEL_VGA_DEVICE(0xA789, info)
>  
> +/* DG2 */
> +#define INTEL_DG2_G10_IDS(info) \
> +        INTEL_VGA_DEVICE(0x5690, info), \
> +        INTEL_VGA_DEVICE(0x5691, info), \
> +        INTEL_VGA_DEVICE(0x5692, info), \
> +
> +#define INTEL_DG2_G11_IDS(info) \
> +        INTEL_VGA_DEVICE(0x56A5, info), \
> +        INTEL_VGA_DEVICE(0x56A6, info), \
> +        INTEL_VGA_DEVICE(0x5693, info), \
> +        INTEL_VGA_DEVICE(0x5694, info), \
> +        INTEL_VGA_DEVICE(0x5695, info), \
> +        INTEL_VGA_DEVICE(0x56B0, info), \
> +        INTEL_VGA_DEVICE(0x56B1, info)
> +
> +#define INTEL_DG2_IDS(info) \
> +        INTEL_DG2_G10_IDS(info) \
> +        INTEL_DG2_G11_IDS(info)
> +
>  #endif /* _I915_PCIIDS_H */
> -- 
> 2.17.1
> 


More information about the igt-dev mailing list