[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

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel





[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux