[Intel-gfx] [PATCH i-g-t] lib/intel_chipset: Fix compilation when enabling the debugger.

Marius Vlad marius.c.vlad at intel.com
Sat Aug 20 15:32:01 UTC 2016


Add IS_SANDYBRIDGE() macro used by debugger/eudb.

Signed-off-by: Marius Vlad <marius.c.vlad at intel.com>
CC: Chris Wilson <chris at chris-wilson.co.uk>
---
 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



More information about the Intel-gfx mailing list