Searched refs:topo_info (Results 1 – 2 of 2) sorted by relevance
202 struct drm_i915_query_topology_info *topo_info; in test_query_topology_kernel_writes() local214 topo_info = (struct drm_i915_query_topology_info *) (_topo_info + sizeof(*_topo_info)); in test_query_topology_kernel_writes()215 memset(topo_info, 0, item.length); in test_query_topology_kernel_writes()217 item.data_ptr = to_user_pointer(topo_info); in test_query_topology_kernel_writes()246 slice_available(const struct drm_i915_query_topology_info *topo_info, in slice_available() argument249 return (topo_info->data[s / 8] >> (s % 8)) & 1; in slice_available()253 subslice_available(const struct drm_i915_query_topology_info *topo_info, in subslice_available() argument256 return (topo_info->data[topo_info->subslice_offset + in subslice_available()257 s * topo_info->subslice_stride + in subslice_available()262 eu_available(const struct drm_i915_query_topology_info *topo_info, in eu_available() argument[all …]
1317 struct drm_i915_query_topology_info *topo_info = in query_topology() local1319 item.data_ptr = (uintptr_t) topo_info; in query_topology()1325 update_from_topology(devinfo, topo_info); in query_topology()1327 free(topo_info); in query_topology()