diff options
author | Mark Janes <[email protected]> | 2019-07-29 17:38:42 -0700 |
---|---|---|
committer | Mark Janes <[email protected]> | 2019-08-01 16:40:03 -0700 |
commit | ddb59cd20e180240d1f64df37e606775fc96a2aa (patch) | |
tree | a457eb386d30450d33a422bf4373cbbe75360914 /src/intel/dev/gen_device_info.h | |
parent | 086c486a75fe64440cb1e76de47b3838215246b1 (diff) |
intel/device: make internal functions private
The device info initializer makes several fuctions internal:
- handling of device override
- updating topology from kernel information
The implementation file is slightly reordered due to the renamed
functions being static.
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/dev/gen_device_info.h')
-rw-r--r-- | src/intel/dev/gen_device_info.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/intel/dev/gen_device_info.h b/src/intel/dev/gen_device_info.h index bf5347432a5..57f1495a1e6 100644 --- a/src/intel/dev/gen_device_info.h +++ b/src/intel/dev/gen_device_info.h @@ -271,19 +271,9 @@ gen_device_info_subslice_available(const struct gen_device_info *devinfo, subslice / 8] & (1U << (subslice % 8))) != 0; } -int gen_get_pci_device_id_override(void); int gen_device_name_to_pci_device_id(const char *name); const char *gen_get_device_name(int devid); -/* Used with SLICE_MASK/SUBSLICE_MASK values from DRM_I915_GETPARAM. */ -bool gen_device_info_update_from_masks(struct gen_device_info *devinfo, - uint32_t slice_mask, - uint32_t subslice_mask, - uint32_t n_eus); -/* Used with DRM_IOCTL_I915_QUERY & DRM_I915_QUERY_TOPOLOGY_INFO. */ -void gen_device_info_update_from_topology(struct gen_device_info *devinfo, - const struct drm_i915_query_topology_info *topology); - static inline uint64_t gen_device_info_timebase_scale(const struct gen_device_info *devinfo, uint64_t gpu_timestamp) |