intel/dev/test: Assert (verx10 / 10) == ver

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13568>
This commit is contained in:
Jordan Justen
2021-10-26 00:54:58 -07:00
committed by Marge Bot
parent 11602d2d36
commit 64157c706e
+1
View File
@@ -24,6 +24,7 @@ main(int argc, char *argv[])
assert(intel_get_device_info_from_pci_id(chipsets[i].pci_id, &devinfo));
assert(devinfo.ver != 0);
assert((devinfo.verx10 / 10) == devinfo.ver);
assert(devinfo.num_eu_per_subslice != 0);
assert(devinfo.num_thread_per_eu != 0);
assert(devinfo.timestamp_frequency != 0);