Lines Matching defs:topo
44 struct drm_i915_query_topology_info topo;
59 total_length = sizeof(topo) + slice_length + subslice_length +
62 ret = copy_query_item(&topo, sizeof(topo), total_length,
67 if (topo.flags != 0)
70 memset(&topo, 0, sizeof(topo));
71 topo.max_slices = sseu->max_slices;
72 topo.max_subslices = sseu->max_subslices;
73 topo.max_eus_per_subslice = sseu->max_eus_per_subslice;
75 topo.subslice_offset = slice_length;
76 topo.subslice_stride = sseu->ss_stride;
77 topo.eu_offset = slice_length + subslice_length;
78 topo.eu_stride = sseu->eu_stride;
81 &topo, sizeof(topo)))
84 if (__copy_to_user(u64_to_user_ptr(query_item->data_ptr + sizeof(topo)),
89 sizeof(topo) + slice_length),
94 sizeof(topo) +