[igt-dev] [PATCH i-g-t 1/2] lib/i915_pciids: PCI IDS for DG2
Matt Roper
matthew.d.roper at intel.com
Mon Jan 24 17:17:01 UTC 2022
On Mon, Jan 24, 2022 at 08:11:24PM +0530, priyanka.dandamudi at intel.com wrote:
> From: Priyanka Dandamudi <priyanka.dandamudi at intel.com>
>
> Adds PCI IDS for DG2.
We don't modify i915_pciids.h manually like this; we only copy the file
as-is directly from the kernel source tree to resync them. Since we're
not putting the PCI IDs into the kernel until all the uapi stuff is 100%
hammered out, that means you won't be able to pick up the DG2 IDs via a
resync for a while longer yet.
You can go ahead and upstream the platform definition (patch #2 of your
series) to unblock the landing of other DG2 igt patches; it just won't
be associated with any PCI IDs initially.
Matt
>
> 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
> 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.25.1
>
--
Matt Roper
Graphics Software Engineer
VTT-OSGC Platform Enablement
Intel Corporation
(916) 356-2795
More information about the igt-dev
mailing list