MAX_ENGINE_INSTANCE
struct i915_request *requests[MAX_ENGINE_INSTANCE + 1];
struct eb_vma *batches[MAX_ENGINE_INSTANCE + 1];
u64 batch_len[MAX_ENGINE_INSTANCE + 1];
struct i915_capture_list *capture_lists[MAX_ENGINE_INSTANCE + 1];
BUILD_BUG_ON(MAX_ENGINE_INSTANCE >= BIT(GEN11_ENGINE_INSTANCE_WIDTH));
BUILD_BUG_ON(I915_MAX_VCS > (MAX_ENGINE_INSTANCE + 1));
BUILD_BUG_ON(I915_MAX_VECS > (MAX_ENGINE_INSTANCE + 1));
if (GEM_DEBUG_WARN_ON(info->instance > MAX_ENGINE_INSTANCE))
u8 map[MAX_ENGINE_INSTANCE + 1];
for (i = 0; i < MAX_ENGINE_INSTANCE + 1; ++i)
u8 logical_ids[MAX_ENGINE_INSTANCE + 1];
if (class <= MAX_ENGINE_CLASS && instance <= MAX_ENGINE_INSTANCE) {
[MAX_ENGINE_INSTANCE + 1];
struct intel_engine_cs *engines[MAX_ENGINE_INSTANCE];
for (inst = 0; inst <= MAX_ENGINE_INSTANCE; inst++) {
struct intel_engine_cs *siblings[MAX_ENGINE_INSTANCE + 1];
struct i915_request *request[MAX_ENGINE_INSTANCE + 1];
struct intel_engine_cs *siblings[MAX_ENGINE_INSTANCE + 1];
struct intel_engine_cs *siblings[MAX_ENGINE_INSTANCE + 1];
struct intel_engine_cs *siblings[MAX_ENGINE_INSTANCE + 1];
struct intel_engine_cs *siblings[MAX_ENGINE_INSTANCE + 1];
u32 action[4 + MAX_ENGINE_INSTANCE];
GEM_BUG_ON(ce->parallel.number_children > MAX_ENGINE_INSTANCE);
u32 action[13 + (MAX_ENGINE_INSTANCE * 2)];
GEM_BUG_ON(ce->parallel.number_children > MAX_ENGINE_INSTANCE);
for (i = 0; i < MAX_ENGINE_INSTANCE; ++i) {
struct sync_semaphore join[MAX_ENGINE_INSTANCE + 1];
sizeof(struct sync_semaphore) * (MAX_ENGINE_INSTANCE + 2)];
GEM_BUG_ON(instance > MAX_ENGINE_INSTANCE);
struct intel_engine_cs *sorted[MAX_ENGINE_INSTANCE + 1];
for (j = 0; j < MAX_ENGINE_INSTANCE + 1; ++j) {
struct intel_engine_cs *siblings[MAX_ENGINE_INSTANCE + 1];