summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>2021-11-05 13:06:37 +0200
committerMarge Bot <emma+marge@anholt.net>2021-11-08 16:48:06 +0000
commitc572adceaa493ab2f7b6cad6d6bd100c6d93ff4d (patch)
treef07887cc84a749913acca3e8d1340465bb3009c7
parent361b3fee3c5ee38821d96660d68ebec2e31e5f47 (diff)
intel/dev: also test crocus & i915 pci-ids
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12981>
-rw-r--r--src/intel/dev/intel_device_info.c5
-rw-r--r--src/intel/dev/intel_device_info_test.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/src/intel/dev/intel_device_info.c b/src/intel/dev/intel_device_info.c
index a72eba883b6..46c9803ad14 100644
--- a/src/intel/dev/intel_device_info.c
+++ b/src/intel/dev/intel_device_info.c
@@ -88,6 +88,11 @@ static const struct intel_device_info intel_device_info_gfx3 = {
.ver = 3,
.platform = INTEL_PLATFORM_GFX3,
.simulator_id = -1,
+ .num_slices = 1,
+ .num_subslices = { 1, },
+ .num_eu_per_subslice = 8,
+ .num_thread_per_eu = 4,
+ .timestamp_frequency = 12500000,
.cs_prefetch_size = 512,
};
diff --git a/src/intel/dev/intel_device_info_test.c b/src/intel/dev/intel_device_info_test.c
index 14a56558549..236310d316b 100644
--- a/src/intel/dev/intel_device_info_test.c
+++ b/src/intel/dev/intel_device_info_test.c
@@ -14,8 +14,13 @@ main(int argc, char *argv[])
} chipsets[] = {
#undef CHIPSET
#define CHIPSET(id, family, family_str, str_name) { .pci_id = id, .name = str_name, },
+#include "pci_ids/crocus_pci_ids.h"
#include "pci_ids/i965_pci_ids.h"
#include "pci_ids/iris_pci_ids.h"
+#undef CHIPSET
+#define CHIPSET(id, fam_str, str_name) { .pci_id = id, .name = str_name, },
+#include "pci_ids/i915_pci_ids.h"
+#undef CHIPSET
};
for (uint32_t i = 0; i < ARRAY_SIZE(chipsets); i++) {