Changes

571 bytes added ,  19:21, 23 January 2020
Add info from source code found in linux drivers
Line 22: Line 22:  
| 0x40 || NoOperation || 1 || ||
 
| 0x40 || NoOperation || 1 || ||
 
|-
 
|-
| 0x41 || SetNotify || 2 || gpuva ||
+
| 0x41 || SetNotifyA || 1 || gpuva ||
 
|-
 
|-
| 0x43 || NotifyType || 1 || || 0=WriteOnly, 1=WriteThenAwaken
+
| 0x42 || SetNotifyB || 1 || gpuva ||
 +
|-
 +
| 0x43 || Notify || 1 || || 0=WriteOnly, 1=WriteThenAwaken
 
|-
 
|-
 
| 0x44 || WaitForIdle || 1 || ||
 
| 0x44 || WaitForIdle || 1 || ||
 
|-
 
|-
| 0x45 || MmeInstructionRamPointer || 1 || uint ||
+
| 0x45 || LoadMmeInstructionRamPointer || 1 || uint ||
 
|-
 
|-
| 0x46 || MmeInstructionRamLoad || 1 || pipe || Writes to and increments MmeInstructionRamPointer by 1.
+
| 0x46 || LoadMmeInstructionRam || 1 || pipe || Writes to and increments MmeInstructionRamPointer by 1.
 
|-
 
|-
| 0x47 || MmeStartAddressRamPointer || 1 || uint ||
+
| 0x47 || LoadMmeStartAddressRamPointer || 1 || uint ||
 
|-
 
|-
| 0x48 || MmeStartAddressRamLoad || 1 || pipe ||
+
| 0x48 || LoadMmeStartAddressRam || 1 || pipe ||
 
|-
 
|-
| 0x49 || MmeShadowRamControl || 1 || uint || 0=MethodTrack, 1=MethodTrackWithFilter, 2=MethodPassthrough, 3=MethodReplay. Used during ClearColor.
+
| 0x49 || SetMmeShadowRamControl || 1 || uint || 0=MethodTrack, 1=MethodTrackWithFilter, 2=MethodPassthrough, 3=MethodReplay. Used during ClearColor.
 
|- style="border-top: double"
 
|- style="border-top: double"
 
| 0x83 || LineWidthSeparate || 1 || bool ||
 
| 0x83 || LineWidthSeparate || 1 || bool ||
Line 446: Line 448:  
| 0x904+8*N || ConstBufferNBind || 1 || bitfield || n=0..4. Bit0: Valid, bit4-8: Index
 
| 0x904+8*N || ConstBufferNBind || 1 || bitfield || n=0..4. Bit0: Valid, bit4-8: Index
 
|- style="border-top: double"
 
|- style="border-top: double"
| 0xD00 || MmeShadowScratch || uint[0x80] || 128 || Mostly general purpose, sometimes accessed by FirmwareCall.
+
| 0xD00 || SetMmeShadowScratch || uint[0x80] || 128 || Mostly general purpose, sometimes accessed by FirmwareCall.
 
|- style="border-top: double"
 
|- style="border-top: double"
| 0xE00+N*2 || MmeMacroNCall || 1 || uint || n=0..0x7f. Writing here calls a bound macro with value written put in r1.
+
| 0xE00+N*2 || CallMmeMacroN || 1 || uint || n=0..0x7f. Writing here calls a bound macro with value written put in r1.
 
|-
 
|-
| 0xE01+N*2 || MmeMacroNData || 1 || pipe || Used to send variable number of arguments to macro via the "parm" instruction.
+
| 0xE01+N*2 || CallMmeDataN || 1 || pipe || Used to send variable number of arguments to macro via the "parm" instruction.
 
|}
 
|}
   Line 459: Line 461:  
! Register || Name || Size || Type || Notes
 
! Register || Name || Size || Type || Notes
 
|-
 
|-
| 0x0C0 || Control || 1 || bitfield || With 0x186 Src/DstStride is not used. With 0x586 memset-functionality is used.
+
| 0x090 || SetSemaphoreA || 1 || ||
 +
|-
 +
| 0x091 || SetSemaphoreB || 1 || ||
 +
|-
 +
| 0x092 || SetSemaphorePayload || 1 || ||
 +
|-
 +
| 0x095 || SetRenderEnableA || 1 || ||
 +
|-
 +
| 0x096 || SetRenderEnableB || 1 || ||
 +
|-
 +
| 0x097 || SetRenderEnableC || 1 || ||
 +
|-
 +
| 0x098 || SetSrcPhysMode || 1 || ||
 +
|-
 +
| 0x099 || SetDstPhysMode || 1 || ||
 +
|-
 +
| 0x0C0 || LaunchDma || 1 || bitfield || With 0x186 Src/DstStride is not used. With 0x586 memset-functionality is used.
 +
|-
 +
| 0x100 || OffsetInUpper || 1 || gpuva ||
 +
|-
 +
| 0x101 || OffsetInLower || 1 || gpuva ||
 +
|-
 +
| 0x102 || OffsetOutUpper || 1 || gpuva ||
 +
|-
 +
| 0x103 || OffsetOutLower || 1 || gpuva ||
 
|-
 
|-
| 0x100 || SourceAddr || 2 || gpuva ||
+
| 0x104 || PitchIn || 1 || uint ||
 
|-
 
|-
| 0x102 || DestinationAddr || 2 || gpuva ||
+
| 0x105 || PitchOut || 1 || uint ||
 
|-
 
|-
| 0x104 || SourceStride? || 1 || uint ||
+
| 0x106 || LineLengthIn || 1 || uint || At most 0x3FFFFF.
 
|-
 
|-
| 0x105 || DestinationStride? || 1 || uint ||
+
| 0x106 || LineCount || 1 || uint || At most 0x3FFFFF.
 
|-
 
|-
| 0x106 || Count || 1 || uint || At most 0x3FFFFF.
+
| 0x1C0 || SetRemapConstA || 1 || uint ||
 
|-
 
|-
| 0x1C0 || MemsetValue? || 1 || uint ||
+
| 0x1C1 || SetRemapConstB || 1 || uint ||
 
|-
 
|-
| 0x1C2 || MemsetControl? || 1 || bitfield || Seen: 0x34444
+
| 0x1C2 || SetRemapComponents || 1 || bitfield || Seen: 0x34444
 
|-
 
|-
| 0x1C4 || MemsetLength? || 1 || uint || In units of 4 bytes.
+
| 0x1C4 || ? || 1 || uint || In units of 4 bytes.
 
|-
 
|-
 
| 0x1C5 || ? || 1 || || Seen: 1
 
| 0x1C5 || ? || 1 || || Seen: 1
 
|}
 
|}