Macros§
- Buffer
OpUnknown - Pattern that matches an unknown
BufferOp
member. - Object
Type Unknown - Pattern that matches an unknown
ObjectType
member. - Power
Goal Type Unknown - Pattern that matches an unknown
PowerGoalType
member. - Query
IdUnknown - Pattern that matches an unknown
QueryId
member.
Structs§
- Buffer
Range - Command
Buffer - A command buffer may be used to pass hardware instructions in a shared buffer (VMO).
- Command
Buffer Flags - Device
Query Request - Diagnostic
Device Dump State Request - IcdFlags
- IcdInfo
- Information about an ICD implementation that can be used with a Magma device.
- IcdLoader
Device GetIcd List Response - Import
Flags - Inline
Command - MapFlags
- Performance
Counter Events OnPerformance Counter Read Completed Request - Power
Element Provider GetClock Speed Level Request - Power
Element Provider SetClock Limit Request - Primary
AddPerformance Counter Buffer Offsets ToPool Request - Primary
Buffer Range Op2Request - Primary
Clear Performance Counters Request - Primary
Create Context Request - Primary
Destroy Context Request - Primary
Dump Performance Counters Request - Primary
Enable Performance Counters Request - Primary
Execute Command Request - Primary
Execute Immediate Commands Request - Primary
Execute Inline Commands Request - Primary
IsPerformance Counter Access Allowed Response - Primary
MapBuffer Request - Primary
OnNotify Memory Imported Request - Primary
OnNotify Messages Consumed Request - Primary
Release Object Request - Primary
Release Performance Counter Buffer Pool Request - Primary
Remove Performance Counter Buffer From Pool Request - Primary
Unmap Buffer Request - Result
Flags - Test
Device GetUnit Test Status Response
Enums§
- Buffer
Op - Object
Type - Power
Goal Type - Each element of this enum represents a high-level goal of a specific power state.
- 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.
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.
Type Aliases§
- Context
Id - Object
Id - Performance
Counter Pool Id - 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.
- Performance
Counter Set - 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.
- Performance
Counter Trigger Id