summaryrefslogtreecommitdiff
path: root/lib/mesa/src/intel/dev/gen_device_info_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/intel/dev/gen_device_info_test.c')
-rw-r--r--lib/mesa/src/intel/dev/gen_device_info_test.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/mesa/src/intel/dev/gen_device_info_test.c b/lib/mesa/src/intel/dev/gen_device_info_test.c
index 815213938..495772f18 100644
--- a/lib/mesa/src/intel/dev/gen_device_info_test.c
+++ b/lib/mesa/src/intel/dev/gen_device_info_test.c
@@ -13,9 +13,8 @@ main(int argc, char *argv[])
const char *name;
} chipsets[] = {
#undef CHIPSET
-#define CHIPSET(id, family, family_str, str_name) { .pci_id = id, .name = str_name, },
+#define CHIPSET(id, family, str_name) { .pci_id = id, .name = str_name, },
#include "pci_ids/i965_pci_ids.h"
-#include "pci_ids/iris_pci_ids.h"
};
for (uint32_t i = 0; i < ARRAY_SIZE(chipsets); i++) {
@@ -23,11 +22,11 @@ main(int argc, char *argv[])
assert(gen_get_device_info_from_pci_id(chipsets[i].pci_id, &devinfo));
- assert(devinfo.ver != 0);
+ assert(devinfo.gen != 0);
+ assert(devinfo.urb.size != 0);
assert(devinfo.num_eu_per_subslice != 0);
assert(devinfo.num_thread_per_eu != 0);
assert(devinfo.timestamp_frequency != 0);
- assert(devinfo.cs_prefetch_size > 0);
}
return 0;