OSDN Git Service

intel/device: rename gen_get_device_info
authorMark Janes <mark.a.janes@intel.com>
Thu, 25 Jul 2019 22:57:30 +0000 (15:57 -0700)
committerMark Janes <mark.a.janes@intel.com>
Thu, 1 Aug 2019 23:39:56 +0000 (16:39 -0700)
commit086c486a75fe64440cb1e76de47b3838215246b1
treee5a808f4953f30752630e1af7fe03fbf3beac9d3
parentd594d2a0524ff8d7c14b4842119936163bfa9318
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 <kenneth@whitecape.org>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
12 files changed:
src/intel/common/tests/gen_mi_builder_test.cpp
src/intel/compiler/test_eu_validate.cpp
src/intel/dev/gen_device_info.c
src/intel/dev/gen_device_info.h
src/intel/dev/gen_device_info_test.c
src/intel/isl/tests/isl_surf_get_image_offset_test.c
src/intel/tools/aub_read.c
src/intel/tools/aub_write.c
src/intel/tools/aubinator.c
src/intel/tools/aubinator_error_decode.c
src/intel/tools/i965_asm.c
src/intel/tools/i965_disasm.c