[Intel-gfx] [PATCH 11/12] intel: Make test_decode not depend on intel_chipset.h
Damien Lespiau
damien.lespiau at intel.com
Thu Mar 5 08:20:19 PST 2015
We were pulling a few PCI ids, we can just hardcode them, it doesn't
change much.
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
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
More information about the Intel-gfx
mailing list