Lines Matching full:class
17 intel_engine_lookup_user(struct drm_i915_private *i915, u8 class, u8 instance) in intel_engine_lookup_user() argument
25 if (class < it->uabi_class) in intel_engine_lookup_user()
27 else if (class > it->uabi_class || in intel_engine_lookup_user()
52 [OTHER_CLASS] = I915_NO_UABI_CLASS, /* Not exposed to users, no uabi class. */
63 if (uabi_classes[a->class] < uabi_classes[b->class]) in engine_cmp()
65 if (uabi_classes[a->class] > uabi_classes[b->class]) in engine_cmp()
137 const char *intel_engine_class_repr(u8 class) in intel_engine_class_repr() argument
148 if (class >= ARRAY_SIZE(uabi_names) || !uabi_names[class]) in intel_engine_class_repr()
151 return uabi_names[class]; in intel_engine_class_repr()
156 u8 class; member
172 if (GEM_DEBUG_WARN_ON(ring->class >= ARRAY_SIZE(map))) in legacy_ring_idx()
175 if (GEM_DEBUG_WARN_ON(ring->instance >= map[ring->class].max)) in legacy_ring_idx()
178 return map[ring->class].base + ring->instance; in legacy_ring_idx()
184 if (engine->gt != ring->gt || engine->class != ring->class) { in add_legacy_ring()
186 ring->class = engine->class; in add_legacy_ring()
223 GEM_BUG_ON(engine->class >= ARRAY_SIZE(uabi_classes)); in intel_engines_driver_register()
224 engine->uabi_class = uabi_classes[engine->class]; in intel_engines_driver_register()
240 intel_engine_class_repr(engine->class), in intel_engines_driver_register()
264 int class, inst; in intel_engines_driver_register() local
267 for (class = 0; class < ARRAY_SIZE(i915->engine_uabi_class_count); class++) { in intel_engines_driver_register()
268 for (inst = 0; inst < i915->engine_uabi_class_count[class]; inst++) { in intel_engines_driver_register()
270 class, inst); in intel_engines_driver_register()
272 pr_err("UABI engine not found for { class:%d, instance:%d }\n", in intel_engines_driver_register()
273 class, inst); in intel_engines_driver_register()
278 if (engine->uabi_class != class || in intel_engines_driver_register()
280 pr_err("Wrong UABI engine:%s { class:%d, instance:%d } found for { class:%d, instance:%d }\n", in intel_engines_driver_register()
284 class, inst); in intel_engines_driver_register()
301 pr_err("mismatching default context state for class %d on engine %s\n", in intel_engines_driver_register()