Lines Matching +full:cs +full:- +full:2
1 /* SPDX-License-Identifier: MIT */
6 #define I915_CONTEXT_ENGINES_EXT_PARALLEL_SUBMIT 2 /* see i915_context_engines_parallel_submit */
9 * struct drm_i915_context_engines_parallel_submit - Configure engine for
30 * Returns -EINVAL if hardware context placement configuration is invalid or if
33 * Returns -ENODEV if extension isn't supported on the platform / submission
36 * .. code-block:: none
39 * CS[X] = generic engine of same class, logical instance X
42 * set_parallel(engine_index=0, width=2, num_siblings=1,
43 * engines=CS[0],CS[1])
46 * CS[0], CS[1]
48 * Example 2 pseudo code:
49 * CS[X] = generic engine of same class, logical instance X
52 * set_parallel(engine_index=0, width=2, num_siblings=2,
53 * engines=CS[0],CS[2],CS[1],CS[3])
56 * CS[0], CS[1]
57 * CS[2], CS[3]
59 * This can also be thought of as 2 virtual engines described by 2-D array
61 * virtual engines. e.g. CS[0] is bonded to CS[1], CS[2] is bonded to
62 * CS[3].
63 * VE[0] = CS[0], CS[2]
64 * VE[1] = CS[1], CS[3]
67 * CS[X] = generic engine of same class, logical instance X
70 * set_parallel(engine_index=0, width=2, num_siblings=2,
71 * engines=CS[0],CS[1],CS[1],CS[3])
74 * CS[0], CS[1]
75 * CS[1], CS[3] - Not logical contiguous, return -EINVAL
114 * @engines: 2-d array of engine instances to configure parallel engine