summaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/test_eu_validate.cpp
diff options
context:
space:
mode:
authorMark Janes <[email protected]>2019-07-25 15:57:30 -0700
committerMark Janes <[email protected]>2019-08-01 16:39:56 -0700
commit086c486a75fe64440cb1e76de47b3838215246b1 (patch)
treee5a808f4953f30752630e1af7fe03fbf3beac9d3 /src/intel/compiler/test_eu_validate.cpp
parentd594d2a0524ff8d7c14b4842119936163bfa9318 (diff)
intel/device: rename gen_get_device_info
Rename the original device info initialization routine so callers don't mistakenly call the wrong one: gen_get_device_info_from_fd: Queries kernel for full device info, including topology details. gen_get_device_info_from_pci_id: Partially initializes device info based on PCI ID lookup, when the kernel is not available. Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/compiler/test_eu_validate.cpp')
-rw-r--r--src/intel/compiler/test_eu_validate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/compiler/test_eu_validate.cpp b/src/intel/compiler/test_eu_validate.cpp
index efdae4fd79b..7a1cc5216fc 100644
--- a/src/intel/compiler/test_eu_validate.cpp
+++ b/src/intel/compiler/test_eu_validate.cpp
@@ -75,7 +75,7 @@ void validation_test::SetUp()
struct gen_info info = GetParam();
int devid = gen_device_name_to_pci_device_id(info.name);
- gen_get_device_info(devid, &devinfo);
+ gen_get_device_info_from_pci_id(devid, &devinfo);
brw_init_codegen(&devinfo, p, p);
}