| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/ |
| D | i915_gem_context_types.h | 34 * struct i915_gem_engines - A set of engines 38 /** @link: Link in i915_gem_context::stale::engines */ 45 /** @fence: Fence used for delayed destruction of engines */ 51 /** @num_engines: Number of engines in this set */ 54 /** @engines: Array of engines */ 55 struct intel_context *engines[]; member 62 /** @idx: Index into i915_gem_engines::engines */ 65 /** @engines: Engine set being iterated */ 66 const struct i915_gem_engines *engines; member 89 * This struct describes an engine that a context may contain. Engines [all …]
|
| D | i915_gem_context.c | 393 struct i915_gem_proto_engine *engines; member 422 if (set->engines[idx].type != I915_GEM_ENGINE_TYPE_INVALID) { in set_proto_ctx_engines_balance() 449 if (copy_from_user(&ci, &ext->engines[n], sizeof(ci))) { in set_proto_ctx_engines_balance() 467 set->engines[idx].type = I915_GEM_ENGINE_TYPE_PHYSICAL; in set_proto_ctx_engines_balance() 468 set->engines[idx].engine = siblings[0]; in set_proto_ctx_engines_balance() 471 set->engines[idx].type = I915_GEM_ENGINE_TYPE_BALANCED; in set_proto_ctx_engines_balance() 472 set->engines[idx].num_siblings = num_siblings; in set_proto_ctx_engines_balance() 473 set->engines[idx].siblings = siblings; in set_proto_ctx_engines_balance() 514 if (set->engines[idx].type == I915_GEM_ENGINE_TYPE_INVALID) { in set_proto_ctx_engines_bond() 519 if (set->engines[idx].type != I915_GEM_ENGINE_TYPE_PHYSICAL) { in set_proto_ctx_engines_bond() [all …]
|
| D | i915_gem_context.h | 186 return rcu_dereference_protected(ctx->engines, in i915_gem_context_engines() 211 struct i915_gem_engines *e = rcu_dereference(ctx->engines); in i915_gem_context_get_engine() 214 else if (likely(idx < e->num_engines && e->engines[idx])) in i915_gem_context_get_engine() 215 ce = intel_context_get(e->engines[idx]); in i915_gem_context_get_engine() 225 struct i915_gem_engines *engines) in i915_gem_engines_iter_init() argument 227 it->engines = engines; in i915_gem_engines_iter_init() 234 #define for_each_gem_engine(ce, engines, it) \ argument 235 for (i915_gem_engines_iter_init(&(it), (engines)); \
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/selftests/ |
| D | mock_context.c | 29 INIT_LIST_HEAD(&ctx->stale.engines); in mock_context() 37 RCU_INIT_POINTER(ctx->engines, e); in mock_context() 107 struct i915_gem_engines *engines; in live_context_for_engine() local 111 engines = alloc_engines(1); in live_context_for_engine() 112 if (!engines) in live_context_for_engine() 117 __free_engines(engines, 0); in live_context_for_engine() 123 __free_engines(engines, 0); in live_context_for_engine() 128 engines->engines[0] = ce; in live_context_for_engine() 129 engines->num_engines = 1; in live_context_for_engine() 133 engines = rcu_replace_pointer(ctx->engines, engines, 1); in live_context_for_engine() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/selftests/ |
| D | mock_context.c | 32 INIT_LIST_HEAD(&ctx->stale.engines); in mock_context() 52 RCU_INIT_POINTER(ctx->engines, e); in mock_context() 113 struct i915_gem_engines *engines; in live_context_for_engine() local 118 engines = alloc_engines(1); in live_context_for_engine() 119 if (!engines) in live_context_for_engine() 124 __free_engines(engines, 0); in live_context_for_engine() 130 __free_engines(engines, 0); in live_context_for_engine() 135 engines->engines[0] = ce; in live_context_for_engine() 136 engines->num_engines = 1; in live_context_for_engine() 140 engines = rcu_replace_pointer(ctx->engines, engines, 1); in live_context_for_engine() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/ |
| D | i915_gem_context.c | 238 if (!e->engines[count]) in __free_engines() 241 intel_context_put(e->engines[count]); in __free_engines() 253 struct i915_gem_engines *engines = in free_engines_rcu() local 256 i915_sw_fence_fini(&engines->fence); in free_engines_rcu() 257 free_engines(engines); in free_engines_rcu() 263 struct i915_gem_engines *engines = in engines_notify() local 264 container_of(fence, typeof(*engines), fence); in engines_notify() 268 if (!list_empty(&engines->link)) { in engines_notify() 269 struct i915_gem_context *ctx = engines->ctx; in engines_notify() 273 list_del(&engines->link); in engines_notify() [all …]
|
| D | i915_gem_context.h | 173 return rcu_dereference_protected(ctx->engines, in i915_gem_context_engines() 198 struct i915_gem_engines *e = rcu_dereference(ctx->engines); in i915_gem_context_get_engine() 201 else if (likely(idx < e->num_engines && e->engines[idx])) in i915_gem_context_get_engine() 202 ce = intel_context_get(e->engines[idx]); in i915_gem_context_get_engine() 212 struct i915_gem_engines *engines) in i915_gem_engines_iter_init() argument 214 it->engines = engines; in i915_gem_engines_iter_init() 221 #define for_each_gem_engine(ce, engines, it) \ argument 222 for (i915_gem_engines_iter_init(&(it), (engines)); \
|
| D | i915_gem_context_types.h | 41 struct intel_context *engines[]; member 46 const struct i915_gem_engines *engines; member 63 * @engines: User defined engines for this context 70 * engines. 83 struct i915_gem_engines __rcu *engines; member 84 struct mutex engines_mutex; /* guards writes to engines */ 186 struct list_head engines; member
|
| /kernel/linux/linux-6.6/drivers/crypto/marvell/octeontx2/ |
| D | otx2_cptpf_ucode.h | 15 * On OcteonTX2 platform IPSec ucode can use both IE and SE engines therefore 16 * IE and SE engines can be attached to the same engine group. 26 /* Maximum number of supported engines/cores on OcteonTX2/CN10K platform */ 94 /* Maximum and current number of engines available for all engine groups */ 104 /* Engines reserved to an engine group */ 107 int count; /* number of engines attached */ 109 unsigned long *bmap; /* attached engines bitmap */ 110 struct otx2_cpt_ucode *ucode; /* ucode used by these engines */ 132 /* engines attached */ 141 * when it has engines attached and ucode loaded [all …]
|
| /kernel/linux/linux-6.6/drivers/platform/x86/ |
| D | pcengines-apuv2.c | 4 * PC-Engines APUv2/APUv3 board platform driver 140 DMI_MATCH(DMI_SYS_VENDOR, "PC Engines"), 149 DMI_MATCH(DMI_SYS_VENDOR, "PC Engines"), 158 DMI_MATCH(DMI_SYS_VENDOR, "PC Engines"), 159 DMI_MATCH(DMI_BOARD_NAME, "PC Engines apu2") 168 DMI_MATCH(DMI_SYS_VENDOR, "PC Engines"), 177 DMI_MATCH(DMI_SYS_VENDOR, "PC Engines"), 186 DMI_MATCH(DMI_SYS_VENDOR, "PC Engines"), 187 DMI_MATCH(DMI_BOARD_NAME, "PC Engines apu3") 195 DMI_MATCH(DMI_SYS_VENDOR, "PC Engines"), [all …]
|
| /kernel/linux/linux-5.10/drivers/platform/x86/ |
| D | pcengines-apuv2.c | 4 * PC-Engines APUv2/APUv3 board platform driver 140 DMI_MATCH(DMI_SYS_VENDOR, "PC Engines"), 149 DMI_MATCH(DMI_SYS_VENDOR, "PC Engines"), 158 DMI_MATCH(DMI_SYS_VENDOR, "PC Engines"), 159 DMI_MATCH(DMI_BOARD_NAME, "PC Engines apu2") 168 DMI_MATCH(DMI_SYS_VENDOR, "PC Engines"), 177 DMI_MATCH(DMI_SYS_VENDOR, "PC Engines"), 186 DMI_MATCH(DMI_SYS_VENDOR, "PC Engines"), 187 DMI_MATCH(DMI_BOARD_NAME, "PC Engines apu3") 195 DMI_MATCH(DMI_SYS_VENDOR, "PC Engines"), [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
| D | selftest_rc6.c | 163 struct intel_engine_cs *engine, **engines; in randomised_engines() local 173 engines = kmalloc_array(n, sizeof(*engines), GFP_KERNEL); in randomised_engines() 174 if (!engines) in randomised_engines() 179 engines[n++] = engine; in randomised_engines() 181 i915_prandom_shuffle(engines, sizeof(*engines), n, prng); in randomised_engines() 184 return engines; in randomised_engines() 190 struct intel_engine_cs **engines; in live_rc6_ctx_wa() local 199 engines = randomised_engines(gt, &prng, &count); in live_rc6_ctx_wa() 200 if (!engines) in live_rc6_ctx_wa() 204 struct intel_engine_cs *engine = engines[n]; in live_rc6_ctx_wa() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
| D | selftest_rc6.c | 155 struct intel_engine_cs *engine, **engines; in randomised_engines() local 165 engines = kmalloc_array(n, sizeof(*engines), GFP_KERNEL); in randomised_engines() 166 if (!engines) in randomised_engines() 171 engines[n++] = engine; in randomised_engines() 173 i915_prandom_shuffle(engines, sizeof(*engines), n, prng); in randomised_engines() 176 return engines; in randomised_engines() 182 struct intel_engine_cs **engines; in live_rc6_ctx_wa() local 191 engines = randomised_engines(gt, &prng, &count); in live_rc6_ctx_wa() 192 if (!engines) in live_rc6_ctx_wa() 196 struct intel_engine_cs *engine = engines[n]; in live_rc6_ctx_wa() [all …]
|
| /kernel/linux/linux-6.6/drivers/crypto/marvell/octeontx/ |
| D | otx_cptpf_ucode.h | 22 * On OcteonTX 83xx platform, only one type of engines is allowed to be 39 /* Maximum number of supported engines/cores on OcteonTX 83XX platform */ 101 /* Maximum and current number of engines available for all engine groups */ 109 /* Engines reserved to an engine group */ 112 int count; /* number of engines attached */ 114 unsigned long *bmap; /* attached engines bitmap */ 115 struct otx_cpt_ucode *ucode; /* ucode used by these engines */ 138 /* engines attached */ 149 * when it has engines attached and ucode loaded 159 int engs_num; /* total number of engines supported */ [all …]
|
| /kernel/linux/linux-5.10/drivers/crypto/marvell/octeontx/ |
| D | otx_cptpf_ucode.h | 22 * On OcteonTX 83xx platform, only one type of engines is allowed to be 39 /* Maximum number of supported engines/cores on OcteonTX 83XX platform */ 101 /* Maximum and current number of engines available for all engine groups */ 109 /* Engines reserved to an engine group */ 112 int count; /* number of engines attached */ 114 unsigned long *bmap; /* attached engines bitmap */ 115 struct otx_cpt_ucode *ucode; /* ucode used by these engines */ 138 /* engines attached */ 149 * when it has engines attached and ucode loaded 159 int engs_num; /* total number of engines supported */ [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/packetengines/ |
| D | Kconfig | 3 # Packet Engines device configuration 7 bool "Packet Engines devices" 15 the questions about Packet Engines devices. If you say Y, you will 21 tristate "Packet Engines Hamachi GNIC-II support" 31 tristate "Packet Engines Yellowfin Gigabit-NIC support" 35 Say Y here if you have a Packet Engines G-NIC PCI Gigabit Ethernet
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/packetengines/ |
| D | Kconfig | 3 # Packet Engines device configuration 7 bool "Packet Engines devices" 15 the questions about Packet Engines devices. If you say Y, you will 21 tristate "Packet Engines Hamachi GNIC-II support" 31 tristate "Packet Engines Yellowfin Gigabit-NIC support" 35 Say Y here if you have a Packet Engines G-NIC PCI Gigabit Ethernet
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/fsi/ |
| D | fsi.txt | 5 engines within those slaves. However, we have a facility to match devicetree 6 nodes to probed engines. This allows for fsi engines to expose non-probeable 16 represent the FSI slaves and their slave engines. As a basic outline: 41 adding subordinate device tree nodes as children of FSI engines. 79 Each slave provides an address-space, under which the engines are accessible. 91 FSI engines (devices) 94 Engines are identified by their address under the slaves' address spaces. We 116 additional engines, but they don't necessarily need to be describe in the
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/fsi/ |
| D | fsi.txt | 5 engines within those slaves. However, we have a facility to match devicetree 6 nodes to probed engines. This allows for fsi engines to expose non-probeable 16 represent the FSI slaves and their slave engines. As a basic outline: 41 adding subordinate device tree nodes as children of FSI engines. 79 Each slave provides an address-space, under which the engines are accessible. 91 FSI engines (devices) 94 Engines are identified by their address under the slaves' address spaces. We 116 additional engines, but they don't necessarily need to be describe in the
|
| /kernel/linux/linux-5.10/Documentation/netlabel/ |
| D | introduction.rst | 15 is composed of three main components, the protocol engines, the communication 18 Protocol Engines 21 The protocol engines are responsible for both applying and retrieving the 25 refrain from calling the protocol engines directly, instead they should use 45 independent interface to the underlying NetLabel protocol engines. In addition
|
| /kernel/linux/linux-6.6/Documentation/netlabel/ |
| D | introduction.rst | 15 is composed of three main components, the protocol engines, the communication 18 Protocol Engines 21 The protocol engines are responsible for both applying and retrieving the 25 refrain from calling the protocol engines directly, instead they should use 45 independent interface to the underlying NetLabel protocol engines. In addition
|
| /kernel/linux/linux-5.10/drivers/crypto/marvell/cesa/ |
| D | cesa.c | 377 struct mv_cesa_engine *engine = &cesa->engines[idx]; in mv_cesa_get_sram() 422 struct mv_cesa_engine *engine = &cesa->engines[idx]; in mv_cesa_put_sram() 439 struct mv_cesa_engine *engines; in mv_cesa_probe() local 470 cesa->engines = devm_kcalloc(dev, caps->nengines, sizeof(*engines), in mv_cesa_probe() 472 if (!cesa->engines) in mv_cesa_probe() 490 struct mv_cesa_engine *engine = &cesa->engines[i]; in mv_cesa_probe() 574 clk_disable_unprepare(cesa->engines[i].zclk); in mv_cesa_probe() 575 clk_disable_unprepare(cesa->engines[i].clk); in mv_cesa_probe() 577 if (cesa->engines[i].irq > 0) in mv_cesa_probe() 578 irq_set_affinity_hint(cesa->engines[i].irq, NULL); in mv_cesa_probe() [all …]
|
| /kernel/linux/linux-6.6/drivers/crypto/marvell/cesa/ |
| D | cesa.c | 377 struct mv_cesa_engine *engine = &cesa->engines[idx]; in mv_cesa_get_sram() 422 struct mv_cesa_engine *engine = &cesa->engines[idx]; in mv_cesa_put_sram() 439 struct mv_cesa_engine *engines; in mv_cesa_probe() local 470 cesa->engines = devm_kcalloc(dev, caps->nengines, sizeof(*engines), in mv_cesa_probe() 472 if (!cesa->engines) in mv_cesa_probe() 490 struct mv_cesa_engine *engine = &cesa->engines[i]; in mv_cesa_probe() 574 clk_disable_unprepare(cesa->engines[i].zclk); in mv_cesa_probe() 575 clk_disable_unprepare(cesa->engines[i].clk); in mv_cesa_probe() 577 if (cesa->engines[i].irq > 0) in mv_cesa_probe() 578 irq_set_affinity_hint(cesa->engines[i].irq, NULL); in mv_cesa_probe() [all …]
|
| /kernel/linux/linux-6.6/tools/include/uapi/drm/ |
| D | i915_drm.h | 160 * Different engines serve different roles, and there may be more than one 163 * on a certain subset of engines, or for providing information about that 170 * Render engines support instructions used for 3D, Compute (GPGPU), 181 * Copy engines (also referred to as "blitters") support instructions 184 * Copy engines can perform pre-defined logical or bitwise operations 192 * Video engines (also referred to as "bit stream decode" (BSD) or 201 * Video enhancement engines (also referred to as "vebox") support 209 * Compute engines support a subset of the instructions available 210 * on render engines: compute engines support Compute (GPGPU) and 728 * value reports the support of context isolation for individual engines by [all …]
|
| /kernel/linux/linux-6.6/include/uapi/drm/ |
| D | i915_drm.h | 160 * Different engines serve different roles, and there may be more than one 163 * on a certain subset of engines, or for providing information about that 170 * Render engines support instructions used for 3D, Compute (GPGPU), 181 * Copy engines (also referred to as "blitters") support instructions 184 * Copy engines can perform pre-defined logical or bitwise operations 192 * Video engines (also referred to as "bit stream decode" (BSD) or 201 * Video enhancement engines (also referred to as "vebox") support 209 * Compute engines support a subset of the instructions available 210 * on render engines: compute engines support Compute (GPGPU) and 728 * value reports the support of context isolation for individual engines by [all …]
|