From c572adceaa493ab2f7b6cad6d6bd100c6d93ff4d Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Fri, 5 Nov 2021 13:06:37 +0200 Subject: [PATCH] intel/dev: also test crocus & i915 pci-ids Signed-off-by: Lionel Landwerlin Reviewed-by: Jordan Justen Part-of: --- src/intel/dev/intel_device_info.c | 5 +++++ src/intel/dev/intel_device_info_test.c | 5 +++++ 2 files changed, 10 insertions(+) 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++) {