Crate fidl_fuchsia_gpu_magma

Source

Macros§

BufferOpUnknown
Pattern that matches an unknown BufferOp member.
ObjectTypeUnknown
Pattern that matches an unknown ObjectType member.
ObjectUnknown
Pattern that matches an unknown Object member.
PowerGoalTypeUnknown
Pattern that matches an unknown PowerGoalType member.
QueryIdUnknown
Pattern that matches an unknown QueryId member.

Structs§

BufferRange
CombinedDeviceControlHandle
CombinedDeviceEventStream
CombinedDeviceGetIcdListResponder
CombinedDeviceMarker
CombinedDeviceProxy
CombinedDeviceQueryResponder
CombinedDeviceRequestStream
A Stream of incoming requests for fuchsia.gpu.magma/CombinedDevice.
CombinedDeviceSynchronousProxy
CommandBuffer
A command buffer may be used to pass hardware instructions in a shared buffer (VMO).
CommandBufferFlags
DependencyInjectionControlHandle
DependencyInjectionEventStream
DependencyInjectionMarker
DependencyInjectionProxy
DependencyInjectionRequestStream
A Stream of incoming requests for fuchsia.gpu.magma/DependencyInjection.
DependencyInjectionServiceMarker
DependencyInjectionServiceProxy
DependencyInjectionSetMemoryPressureProviderRequest
DependencyInjectionSynchronousProxy
DeviceConnect2Request
DeviceControlHandle
DeviceEventStream
DeviceMarker
DeviceProxy
DeviceQueryRequest
DeviceQueryResponder
DeviceRequestStream
A Stream of incoming requests for fuchsia.gpu.magma/Device.
DeviceSynchronousProxy
DiagnosticDeviceControlHandle
DiagnosticDeviceDumpStateRequest
DiagnosticDeviceEventStream
DiagnosticDeviceMarker
DiagnosticDeviceProxy
DiagnosticDeviceRequestStream
A Stream of incoming requests for fuchsia.gpu.magma/DiagnosticDevice.
DiagnosticDeviceSynchronousProxy
IcdFlags
IcdInfo
Information about an ICD implementation that can be used with a Magma device.
IcdLoaderDeviceControlHandle
IcdLoaderDeviceEventStream
IcdLoaderDeviceGetIcdListResponder
IcdLoaderDeviceGetIcdListResponse
IcdLoaderDeviceMarker
IcdLoaderDeviceProxy
IcdLoaderDeviceRequestStream
A Stream of incoming requests for fuchsia.gpu.magma/IcdLoaderDevice.
IcdLoaderDeviceSynchronousProxy
ImportFlags
InlineCommand
MapFlags
NotificationControlHandle
NotificationEventStream
NotificationMarker
NotificationProxy
NotificationRequestStream
A Stream of incoming requests for fuchsia.gpu.magma/Notification.
NotificationSynchronousProxy
PerformanceCounterAccessControlHandle
PerformanceCounterAccessEventStream
PerformanceCounterAccessGetPerformanceCountTokenResponder
PerformanceCounterAccessGetPerformanceCountTokenResponse
PerformanceCounterAccessMarker
PerformanceCounterAccessProxy
PerformanceCounterAccessRequestStream
A Stream of incoming requests for fuchsia.gpu.magma/PerformanceCounterAccess.
PerformanceCounterAccessSynchronousProxy
PerformanceCounterEventsControlHandle
PerformanceCounterEventsEventStream
PerformanceCounterEventsMarker
PerformanceCounterEventsOnPerformanceCounterReadCompletedRequest
PerformanceCounterEventsProxy
PerformanceCounterEventsRequestStream
A Stream of incoming requests for fuchsia.gpu.magma/PerformanceCounterEvents.
PerformanceCounterEventsSynchronousProxy
PerformanceCounterServiceMarker
PerformanceCounterServiceProxy
PowerElementProviderControlHandle
PowerElementProviderEventStream
PowerElementProviderGetClockSpeedLevelRequest
PowerElementProviderGetClockSpeedLevelResponder
PowerElementProviderGetClockSpeedLevelResponse
PowerElementProviderGetPowerGoalsResponder
PowerElementProviderGetPowerGoalsResponse
PowerElementProviderMarker
PowerElementProviderProxy
PowerElementProviderRequestStream
A Stream of incoming requests for fuchsia.gpu.magma/PowerElementProvider.
PowerElementProviderSetClockLimitRequest
PowerElementProviderSetClockLimitResponder
PowerElementProviderSetClockLimitResponse
PowerElementProviderSynchronousProxy
PowerGoal
This table represents a specific power goal. The client must acquire a lease on the token to activate the state.
PrimaryAddPerformanceCounterBufferOffsetsToPoolRequest
PrimaryBufferRangeOp2Request
PrimaryClearPerformanceCountersRequest
PrimaryControlHandle
PrimaryCreateContextRequest
PrimaryCreatePerformanceCounterBufferPoolRequest
PrimaryDestroyContextRequest
PrimaryDumpPerformanceCountersRequest
PrimaryEnablePerformanceCounterAccessRequest
PrimaryEnablePerformanceCountersRequest
PrimaryEventStream
PrimaryExecuteCommandRequest
PrimaryExecuteImmediateCommandsRequest
PrimaryExecuteInlineCommandsRequest
PrimaryFlushResponder
PrimaryImportObject2Request
PrimaryImportObjectRequest
PrimaryIsPerformanceCounterAccessAllowedResponder
PrimaryIsPerformanceCounterAccessAllowedResponse
PrimaryMapBufferRequest
PrimaryMarker
PrimaryOnNotifyMemoryImportedRequest
PrimaryOnNotifyMessagesConsumedRequest
PrimaryProxy
PrimaryReleaseObjectRequest
PrimaryReleasePerformanceCounterBufferPoolRequest
PrimaryRemovePerformanceCounterBufferFromPoolRequest
PrimaryRequestStream
A Stream of incoming requests for fuchsia.gpu.magma/Primary.
PrimarySynchronousProxy
PrimaryUnmapBufferRequest
ResultFlags
ServiceMarker
ServiceProxy
TestDeviceControlHandle
TestDeviceEventStream
TestDeviceGetIcdListResponder
TestDeviceGetUnitTestStatusResponder
TestDeviceGetUnitTestStatusResponse
TestDeviceMarker
TestDeviceProxy
TestDeviceQueryResponder
TestDeviceRequestStream
A Stream of incoming requests for fuchsia.gpu.magma/TestDevice.
TestDeviceSynchronousProxy

Enums§

BufferOp
CombinedDeviceEvent
CombinedDeviceRequest
A combination of all the production |Device| protocols. This protocol is implemented on the Magma service side and should not be used by clients.
DependencyInjectionEvent
DependencyInjectionRequest
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.
DependencyInjectionServiceRequest
A request for one of the member protocols of DependencyInjectionService.
DeviceEvent
DeviceQueryResponse
DeviceRequest
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).
DiagnosticDeviceEvent
DiagnosticDeviceRequest
Methods used to expose diagnostics from the Magma device.
IcdLoaderDeviceEvent
IcdLoaderDeviceRequest
Methods implemented by an MSD and exposed for use of an ICD loader.
NotificationEvent
NotificationRequest
This protocol is empty as the message contents are vendor specific.
Object
ObjectType
PerformanceCounterAccessEvent
PerformanceCounterAccessRequest
This protocol is implemented by ZX_PROTOCOL_GPU_PERFORMANCE_COUNTERS devices.
PerformanceCounterEventsEvent
PerformanceCounterEventsRequest
PerformanceCounterServiceRequest
A request for one of the member protocols of PerformanceCounterService.
PowerElementProviderEvent
PowerElementProviderRequest
This protocol is used to retrieve information on the power levels that this driver provides.
PowerGoalType
Each element of this enum represents a high-level goal of a specific power state.
PrimaryEvent
PrimaryRequest
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.
QueryId
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.
ServiceRequest
A request for one of the member protocols of Service.
TestDeviceEvent
TestDeviceRequest
Additional device methods for the purposes of testing the MSD and should not be used by ICDs.

Constants§

MAX_ICD_COUNT
The maximum number of ICDs supported by a Magma system driver.
MAX_IMMEDIATE_COMMANDS_DATA_SIZE
The batch size used to send multiple immediate commands in a single message.
MAX_INLINE_COMMANDS_DATA_SIZE
The batch size used to send multiple inline commands in a single message.

Traits§

CombinedDeviceProxyInterface
DependencyInjectionProxyInterface
DeviceProxyInterface
DiagnosticDeviceProxyInterface
IcdLoaderDeviceProxyInterface
NotificationProxyInterface
PerformanceCounterAccessProxyInterface
PerformanceCounterEventsProxyInterface
PowerElementProviderProxyInterface
PrimaryProxyInterface
TestDeviceProxyInterface

Type Aliases§

ContextId
DeviceQueryResult
ObjectId
PerformanceCounterPoolId
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.
PerformanceCounterSet
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.
PerformanceCounterTriggerId
PowerElementProviderGetClockSpeedLevelResult
PowerElementProviderSetClockLimitResult