diff options
author | Mark Janes <[email protected]> | 2019-07-25 15:57:30 -0700 |
---|---|---|
committer | Mark Janes <[email protected]> | 2019-08-01 16:39:56 -0700 |
commit | 086c486a75fe64440cb1e76de47b3838215246b1 (patch) | |
tree | e5a808f4953f30752630e1af7fe03fbf3beac9d3 /src/intel/tools/aubinator.c | |
parent | d594d2a0524ff8d7c14b4842119936163bfa9318 (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/tools/aubinator.c')
-rw-r--r-- | src/intel/tools/aubinator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/tools/aubinator.c b/src/intel/tools/aubinator.c index e8c3db71f0e..4b4ba48445e 100644 --- a/src/intel/tools/aubinator.c +++ b/src/intel/tools/aubinator.c @@ -78,7 +78,7 @@ aubinator_init(void *user_data, int aub_pci_id, const char *app_name) { pci_id = aub_pci_id; - if (!gen_get_device_info(pci_id, &devinfo)) { + if (!gen_get_device_info_from_pci_id(pci_id, &devinfo)) { fprintf(stderr, "can't find device information: pci_id=0x%x\n", pci_id); exit(EXIT_FAILURE); } |