From 73ca381d7a47058ffd8ec3ae03cbfc32e0c448b7 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Sat, 23 Jul 2022 14:17:00 -0700 Subject: [PATCH] freedreno/registers: Move varset to De-noisify the enum values that are generation specific. Signed-off-by: Rob Clark Part-of: --- src/freedreno/registers/adreno/adreno_pm4.xml | 256 +++++++++++++------------- 1 file changed, 128 insertions(+), 128 deletions(-) diff --git a/src/freedreno/registers/adreno/adreno_pm4.xml b/src/freedreno/registers/adreno/adreno_pm4.xml index 54f0665..040a1b3 100644 --- a/src/freedreno/registers/adreno/adreno_pm4.xml +++ b/src/freedreno/registers/adreno/adreno_pm4.xml @@ -3,7 +3,7 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd"> - + @@ -11,43 +11,43 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd"> - - - - - - - + + + + + + + - - - - - + + + + + - - - - + + + + - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Clears based on GRAS_LRZ_CNTL configuration, could clear fast-clear buffer or LRZ direction. @@ -59,33 +59,33 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd"> CUR_DIR_UNSET = 0x3 Clear of direction means setting the direction to CUR_DIR_UNSET. - - - - - - - - + + + + + + + + - + - - - - - - - - - - - + + + + + + + + + + + - - + + @@ -184,7 +184,7 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd"> disambiguate the packet-id's that were re-used for different packets starting with a5xx. --> - + initialize CP's micro-engine skip N 32-bit words to get to the next packet @@ -201,7 +201,7 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd"> another buffer at the same level. Must be at the end of IB, and doesn't work with draw state IB's. - + indirect buffer dispatch. same as IB, but init is pipelined wait for the IDLE state of the engine @@ -211,16 +211,16 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd"> wait until a register location is equal to a specific value wait until a register location is >= a specific value - + wait until a read completes - + wait until all base/size writes from an IB_PFD packet have completed register read/modify/write Set binning configuration registers - - + + reads register in chip and writes to memory write N 32-bit words to memory @@ -230,8 +230,8 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd"> conditional execution of a sequence of packets conditional write to memory or register - - + + generate an event that creates a write to memory when completed generate a VS|PS_done event @@ -248,13 +248,13 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd"> initiate fetch of index buffer and draw draw using supplied indices in packet - + initiate fetch of index buffer and binIDs and draw - + initiate fetch of bin IDs and draw using supplied indices - + begin/end initiator for viz query extent processing - + fetch state sub-blocks and initiate shader code DMAs load constant into chip and to memory @@ -264,21 +264,21 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd"> load sequencer instruction memory (code embedded in packet) load constants from a location in memory - + selective invalidation of state pointers dynamically changes shader instruction memory partition - + sets the 64-bit BIN_MASK register in the PFP - + sets the 64-bit BIN_SELECT register in the PFP - + updates the current context, if needed generate interrupt from the command stream copy sequencer instruction memory to system memory - + load high level sequencer command - - + + Conditionally load a IB based on a flag, prefetch enabled Conditionally load a IB based on a flag, prefetch disabled - + Load a buffer with pre-fetch enabled - + Set bin (?) - + test 2 memory locations to dword values specified @@ -338,11 +338,11 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd"> (A4x) save PM4 stream pointers to execute upon a visible draw - + - - - + + + @@ -374,7 +374,7 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd"> for A4xx Write to register with address that does not fit into type-0 pkt - + copy from ME scratch RAM to a register @@ -391,47 +391,47 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd"> Memory to REG copy - + for a5xx - + - + Tells CP the current mode of GPU operation - + Instruct CP to set a few internal CP registers - + - + - - - - - - + + + + + + - + - + - + - - + + - - + + - + - + - - + + - + - - - - - - - - + + + + + + + + - + - - - - - - - + + + + + + + - + - + These first appear in a650_sqe.bin. They can in theory be used @@ -523,11 +523,11 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd"> technique of just repeating the CP_INDIRECT_BUFFER calls and "unrolling" the loop. - - + + - - + + -- 2.7.4