Macros§
- Pattern that matches an unknown
BufferOp
member. - Pattern that matches an unknown
ObjectType
member. - Pattern that matches an unknown
Object
member. - Pattern that matches an unknown
PowerGoalType
member. - Pattern that matches an unknown
QueryId
member.
Structs§
- A Stream of incoming requests for fuchsia.gpu.magma/CombinedDevice.
- A command buffer may be used to pass hardware instructions in a shared buffer (VMO).
- A Stream of incoming requests for fuchsia.gpu.magma/DependencyInjection.
- A Stream of incoming requests for fuchsia.gpu.magma/Device.
- A Stream of incoming requests for fuchsia.gpu.magma/DiagnosticDevice.
- Information about an ICD implementation that can be used with a Magma device.
- A Stream of incoming requests for fuchsia.gpu.magma/IcdLoaderDevice.
- A Stream of incoming requests for fuchsia.gpu.magma/Notification.
- A Stream of incoming requests for fuchsia.gpu.magma/PerformanceCounterAccess.
- A Stream of incoming requests for fuchsia.gpu.magma/PerformanceCounterEvents.
- A Stream of incoming requests for fuchsia.gpu.magma/PowerElementProvider.
- This table represents a specific power goal. The client must acquire a lease on the token to activate the state.
- A Stream of incoming requests for fuchsia.gpu.magma/Primary.
- A Stream of incoming requests for fuchsia.gpu.magma/TestDevice.
Enums§
- A combination of all the production |Device| protocols. This protocol is implemented on the Magma service side and should not be used by clients.
- This protocol is implemented by ZX_PROTOCOL_GPU_DEPENDENCY_INJECTION devices. It’s used to inject dependencies on other services into the MSD. It can be used only by a privileged process.
- The Magma Device protocol allow clients to learn about the hardware by making queries, such as device and vendor IDs, and which client drivers are supported by the device’s system driver.
To engage further with the device, clients may establish connections formed of channel pairs: a primary channel for making requests (see Primary protocol below), and a secondary channel for receiving notification messages (see Notification protocol below). - Methods used to expose diagnostics from the Magma device.
- Methods implemented by an MSD and exposed for use of an ICD loader.
- This protocol is empty as the message contents are vendor specific.
- This protocol is implemented by ZX_PROTOCOL_GPU_PERFORMANCE_COUNTERS devices.
- This protocol is used to retrieve information on the power levels that this driver provides.
- Each element of this enum represents a high-level goal of a specific power state.
- If a system driver error occurs, or if the client sends a message that the client should have known is invalid, the connection will be closed and a zx.Status sent via epitaph.
- Types of information about the hardware and driver that can be queried from the Magma system driver. Vendor-specific ID numbers may be used, but those IDs will be listed elsewhere.
- A request for one of the member protocols of Service.
- Additional device methods for the purposes of testing the MSD and should not be used by ICDs.
Constants§
- The maximum number of ICDs supported by a Magma system driver.
- The batch size used to send multiple immediate commands in a single message.
- The batch size used to send multiple inline commands in a single message.
Traits§
Type Aliases§
- Performance counter pools contain byte ranges of buffers. Whenever a performance counter dump is triggered, the driver removes a range from the pool, writes the performance counter values from the hardware into it, then signals the client using OnPerformanceCounterReadCompleted. Pool IDs are arbitrary uint64 values that are allocated by the client.
- Describes a set of performance counters. The exact meaning depends on the specific driver, but often is a bitvector representing whether each performance counter is enabled or disabled.