[Intel-gfx] [PATCH] drm/i915: break TGL pci-ids in GT 1 & 2

Dixit, Ashutosh ashutosh.dixit at intel.com
Fri Aug 28 18:36:54 UTC 2020


On Fri, 28 Aug 2020 06:31:25 -0700, Lionel Landwerlin wrote:
>
> I'll need this in IGT to identify the different kind of GTs and apply
> the right performance query configuration.

Reviewed-by: Ashutosh Dixit <ashutosh.dixit at intel.com>

> Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
> ---
>  include/drm/i915_pciids.h | 14 ++++++++++----
>  1 file changed, 10 insertions(+), 4 deletions(-)
>
> diff --git a/include/drm/i915_pciids.h b/include/drm/i915_pciids.h
> index 8e7ae30ebcbb..7eeecb07c9a1 100644
> --- a/include/drm/i915_pciids.h
> +++ b/include/drm/i915_pciids.h
> @@ -594,19 +594,25 @@
>	INTEL_VGA_DEVICE(0x4E51, info)
>
>  /* TGL */
> -#define INTEL_TGL_12_IDS(info) \
> +#define INTEL_TGL_12_GT1_IDS(info) \
> +	INTEL_VGA_DEVICE(0x9A60, info), \
> +	INTEL_VGA_DEVICE(0x9A68, info), \
> +	INTEL_VGA_DEVICE(0x9A70, info)
> +
> +#define INTEL_TGL_12_GT2_IDS(info) \
>	INTEL_VGA_DEVICE(0x9A40, info), \
>	INTEL_VGA_DEVICE(0x9A49, info), \
>	INTEL_VGA_DEVICE(0x9A59, info), \
> -	INTEL_VGA_DEVICE(0x9A60, info), \
> -	INTEL_VGA_DEVICE(0x9A68, info), \
> -	INTEL_VGA_DEVICE(0x9A70, info), \
>	INTEL_VGA_DEVICE(0x9A78, info), \
>	INTEL_VGA_DEVICE(0x9AC0, info), \
>	INTEL_VGA_DEVICE(0x9AC9, info), \
>	INTEL_VGA_DEVICE(0x9AD9, info), \
>	INTEL_VGA_DEVICE(0x9AF8, info)
>
> +#define INTEL_TGL_12_IDS(info) \
> +	INTEL_TGL_12_GT1_IDS(info), \
> +	INTEL_TGL_12_GT2_IDS(info)
> +
>  /* RKL */
>  #define INTEL_RKL_IDS(info) \
>	INTEL_VGA_DEVICE(0x4C80, info), \
> --
> 2.28.0
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx


More information about the Intel-gfx mailing list