diff options
author | Chia-I Wu <[email protected]> | 2019-01-18 08:54:04 -0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2019-03-11 10:01:49 -0700 |
commit | 9c83a7572b22c907cb41107cd991ec4fcea216cf (patch) | |
tree | fd49418062e097f2a7d2df82aa915ea28cfd06a6 /src/gallium | |
parent | 3b3af6321b9231752014ed441ba9b056219e23aa (diff) |
turnip: emit HW init in tu_BeginCommandBuffer
Being the first commit that emits meaningful command packets, there
are many things included in this commit
- tu6_emit_xxx are low-level helpers that emit command packets
without boundary checks
- tu6_xxx are high-level helpers that emit command packets with
boundary checks
- cmdbuf->cs is a pointer to the current CS, so that we can use the
helpers above to emit to other CS
- use cmd as the variable name of tu_cmd_buffer
- there is a per-cmdbuf scratch bo for CP_EVENT_WRITE writeback
- there is a per-cmdbuf debug marker, using scratch reg 7 or 6
depending on whether the cmdbuf is primary or secondary
(olv, after rebase) REG_A6XX_SP_UNKNOWN_AB20 is renamed
Diffstat (limited to 'src/gallium')
0 files changed, 0 insertions, 0 deletions