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/aub_write.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/aub_write.c')
-rw-r--r-- | src/intel/tools/aub_write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/tools/aub_write.c b/src/intel/tools/aub_write.c index dcbde639214..c4d1cbbbfb7 100644 --- a/src/intel/tools/aub_write.c +++ b/src/intel/tools/aub_write.c @@ -172,7 +172,7 @@ aub_file_init(struct aub_file *aub, FILE *file, FILE *debug, uint16_t pci_id, co aub->verbose_log_file = debug; aub->file = file; aub->pci_id = pci_id; - fail_if(!gen_get_device_info(pci_id, &aub->devinfo), + fail_if(!gen_get_device_info_from_pci_id(pci_id, &aub->devinfo), "failed to identify chipset=0x%x\n", pci_id); aub->addr_bits = aub->devinfo.gen >= 8 ? 48 : 32; |