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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We were pulling a few PCI ids, we can just hardcode them, it doesn't
change much.

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

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 },
 	};
-- 
1.8.3.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx





[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux