Add IS_SANDYBRIDGE() macro used by debugger/eudb.

Signed-off-by: Marius Vlad <[email protected]>
CC: Chris Wilson <[email protected]>
---
 lib/intel_chipset.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/intel_chipset.h b/lib/intel_chipset.h
index 1003266..3c1260b 100644
--- a/lib/intel_chipset.h
+++ b/lib/intel_chipset.h
@@ -147,6 +147,7 @@ void intel_check_pch(void);
 
 #define IS_IRONLAKE(devid)     (intel_get_device_info(devid)->is_ironlake)
 #define IS_ARRANDALE(devid)    (intel_get_device_info(devid)->is_arrandale)
+#define IS_SANDYBRIDGE(devid)  (intel_get_device_info(devid)->is_sandybridge)
 #define IS_IVYBRIDGE(devid)    (intel_get_device_info(devid)->is_ivybridge)
 #define IS_VALLEYVIEW(devid)   (intel_get_device_info(devid)->is_valleyview)
 #define IS_HASWELL(devid)      (intel_get_device_info(devid)->is_haswell)
-- 
2.5.0

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to