diff mbox

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

Message ID 1471707121-6629-1-git-send-email-marius.c.vlad@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Marius Vlad Aug. 20, 2016, 3:32 p.m. UTC
Add IS_SANDYBRIDGE() macro used by debugger/eudb.

Signed-off-by: Marius Vlad <marius.c.vlad@intel.com>
CC: Chris Wilson <chris@chris-wilson.co.uk>
---
 lib/intel_chipset.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Chris Wilson Aug. 20, 2016, 6:21 p.m. UTC | #1
On Sat, Aug 20, 2016 at 06:32:01PM +0300, Marius Vlad wrote:
> Add IS_SANDYBRIDGE() macro used by debugger/eudb.
> 
> Signed-off-by: Marius Vlad <marius.c.vlad@intel.com>
> CC: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
-Chris
diff mbox

Patch

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)