[PATCH i-g-t 4/5] lib/intel_chipset.h: Add macro for PTL device id

priyanka.dandamudi at intel.com priyanka.dandamudi at intel.com
Mon Feb 17 08:18:53 UTC 2025


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>
---
 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