[PATCH i-g-t 4/5] lib/intel_chipset.h: Add macro for PTL device id
Zbigniew Kempczyński
zbigniew.kempczynski at intel.com
Thu Feb 20 08:09:52 UTC 2025
On Mon, Feb 17, 2025 at 08:18:53AM +0000, priyanka.dandamudi at intel.com wrote:
> From: Priyanka Dandamudi <priyanka.dandamudi at intel.com>
>
> Add macro for PTL which helps for the tests to check for the platform.
>
> Signed-off-by: Priyanka Dandamudi <priyanka.dandamudi at intel.com>
Reviewed-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
--
Zbigniew
> ---
> lib/intel_chipset.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/lib/intel_chipset.h b/lib/intel_chipset.h
> index c93ad9f75..2f6bf788a 100644
> --- a/lib/intel_chipset.h
> +++ b/lib/intel_chipset.h
> @@ -209,6 +209,7 @@ void intel_check_pch(void);
> #define IS_PONTEVECCHIO(devid) (intel_get_device_info(devid)->is_pontevecchio)
> #define IS_LUNARLAKE(devid) (intel_get_device_info(devid)->is_lunarlake)
> #define IS_BATTLEMAGE(devid) (intel_get_device_info(devid)->is_battlemage)
> +#define IS_PANTHERLAKE(devid) (intel_get_device_info(devid)->is_pantherlake)
>
> #define IS_GEN(devid, x) (intel_get_device_info(devid)->graphics_ver == x)
>
> --
> 2.34.1
>
More information about the igt-dev
mailing list