Lines Matching refs:topo
35 struct drm_i915_query_topology_info topo; in query_topology_info() local
50 total_length = sizeof(topo) + slice_length + subslice_length + in query_topology_info()
53 ret = copy_query_item(&topo, sizeof(topo), total_length, in query_topology_info()
58 if (topo.flags != 0) in query_topology_info()
61 memset(&topo, 0, sizeof(topo)); in query_topology_info()
62 topo.max_slices = sseu->max_slices; in query_topology_info()
63 topo.max_subslices = sseu->max_subslices; in query_topology_info()
64 topo.max_eus_per_subslice = sseu->max_eus_per_subslice; in query_topology_info()
66 topo.subslice_offset = slice_length; in query_topology_info()
67 topo.subslice_stride = sseu->ss_stride; in query_topology_info()
68 topo.eu_offset = slice_length + subslice_length; in query_topology_info()
69 topo.eu_stride = sseu->eu_stride; in query_topology_info()
72 &topo, sizeof(topo))) in query_topology_info()
75 if (copy_to_user(u64_to_user_ptr(query_item->data_ptr + sizeof(topo)), in query_topology_info()
80 sizeof(topo) + slice_length), in query_topology_info()
85 sizeof(topo) + in query_topology_info()