summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2013-03-07 20:22:51 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2013-03-07 20:24:25 +0100
commit23561e915c3340da49f3acd67c8a70fdfccf66fd (patch)
tree60a4327ef2e26082cc87cc074a56bcd9293cc08a /doc
parent1a1cdc94d7b09b674e878a0b6a3479c0a5a54c7c (diff)
etna: prepare for tgsi->vivante shader conversion
- integrate part of gallium, outside of mesa for now, this will help porting
Diffstat (limited to 'doc')
-rw-r--r--doc/hardware.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/hardware.md b/doc/hardware.md
index 72dea20..39dce1b 100644
--- a/doc/hardware.md
+++ b/doc/hardware.md
@@ -178,6 +178,21 @@ this example it stalls the rasterizer until the pixel engine has completed the c
The `STALL` command is used to stall the command queue until the semaphore has been received. The stall command has
one argument that has the same format as the `_TOKEN` states above, except that the FROM module is always the FE.
+Within the 3D engine, not many explicit synchronization points appear to be needed. Some exceptions:
+
+- The blob issues a semaphore and stall from RA to PE when
+
+ - Changing depth configuration in PE
+ - Sometimes when changing stencil config in PE
+
+- The blob issues a just a semaphore from RA to PE, and a stall before drawing a primitive when
+
+ - Tile status address/configuration changes
+ - Clearing depth
+ - Clearing tile status
+
+- The blob issues a semaphor and stall from FE to PE before changing the pipe from 2D to 3D or vice versa
+
XXX (cwabbott) usually, isa's have some sort of texture barrier or sync operation to be able to load textures asyncronously
(mali does it w/ pipeline registers) i'm wondering where that is in the vivante isa