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