diff mbox

[11/12] intel: Make test_decode not depend on intel_chipset.h

Message ID 1425572420-10067-12-git-send-email-damien.lespiau@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Lespiau, Damien March 5, 2015, 4:20 p.m. UTC
We were pulling a few PCI ids, we can just hardcode them, it doesn't
change much.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
---
 intel/test_decode.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
diff mbox

Patch

diff --git a/intel/test_decode.c b/intel/test_decode.c
index 1ffd829..b9897b3 100644
--- a/intel/test_decode.c
+++ b/intel/test_decode.c
@@ -36,7 +36,6 @@ 
 
 #include "libdrm.h"
 #include "intel_bufmgr.h"
-#include "intel_chipset.h"
 
 #define HW_OFFSET 0x12300000
 
@@ -147,9 +146,9 @@  infer_devid(const char *batch_filename)
 		{ "945",  0x2772},
 		{ "gen4", 0x2a02 },
 		{ "gm45", 0x2a42 },
-		{ "gen5", PCI_CHIP_ILD_G },
-		{ "gen6", PCI_CHIP_SANDYBRIDGE_GT2 },
-		{ "gen7", PCI_CHIP_IVYBRIDGE_GT2 },
+		{ "gen5", 0x0042 },
+		{ "gen6", 0x0112 },
+		{ "gen7", 0x0162 },
 		{ "gen8", 0x1616 },
 		{ NULL, 0 },
 	};