freedreno: slurp in decode tools

Graphics / Mesa 3D Graphics Library / Mesa - Rob Clark [chromium.org] - 28 July 2020 09:45 UTC

cffdump, crashdec, etc

At this point there is some duplication with other files in-tree (ie. a2xx and a3xx+ disassembly), which will be cleaned up in a later commit.

1ea4ef0d3be freedreno: slurp in decode tools
src/freedreno/decode/buffers.c | 191 ++
src/freedreno/decode/buffers.h | 43 +
src/freedreno/decode/cffdec.c | 2717 ++++++++++++++++++++
src/freedreno/decode/cffdec.h | 148 ++
src/freedreno/decode/cffdump.c | 370 +++
src/freedreno/decode/crashdec.c | 1114 ++++++++
src/freedreno/decode/disasm-a2xx.c | 623 +++++
src/freedreno/decode/disasm-a3xx.c | 1641 ++++++++++++
src/freedreno/decode/disasm.h | 59 +
src/freedreno/decode/instr-a2xx.h | 385 +++
src/freedreno/decode/instr-a3xx.h | 1115 ++++++++
src/freedreno/decode/io.c | 163 ++
src/freedreno/decode/io.h | 51 +
src/freedreno/decode/meson.build | 144 ++
src/freedreno/decode/pager.c | 99 +
src/freedreno/decode/pager.h | 30 +
src/freedreno/decode/pgmdump.c | 1054 ++++++++
src/freedreno/decode/pgmdump2.c | 585 +++++
src/freedreno/decode/redump.h | 76 +
src/freedreno/decode/rnnutil.c | 217 ++
src/freedreno/decode/rnnutil.h | 66 +
src/freedreno/decode/script.c | 775 ++++++
src/freedreno/decode/script.h | 76 +
src/freedreno/decode/scripts/analyze.lua | 178 ++
src/freedreno/decode/scripts/parse-submits.lua | 413 +++
src/freedreno/decode/scripts/sanity-a6xx.lua | 76 +
src/freedreno/decode/scripts/test.lua | 31 +
src/freedreno/decode/scripts/tex3d-layout.lua | 137 +
.../decode/scripts/texturator-to-unit-test-5xx.lua | 200 ++
.../decode/scripts/texturator-to-unit-test.lua | 179 ++
src/freedreno/decode/util.h | 204 ++
src/freedreno/meson.build | 2 +
32 files changed, 13162 insertions(+)

Upstream: cgit.freedesktop.org


  • Share