Mesa (master): freedreno: slurp in decode tools

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Jul 28 10:04:38 UTC 2020


Module: Mesa
Branch: master
Commit: 1ea4ef0d3be829e392922f5d26fbc89bf69a8a67
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1ea4ef0d3be829e392922f5d26fbc89bf69a8a67

Author: Rob Clark <robdclark at chromium.org>
Date:   Thu Jul 23 17:32:36 2020 -0700

freedreno: slurp in decode tools

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.

Signed-off-by: Rob Clark <robdclark at chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6070>

---

 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(+)

Diff:   http://cgit.freedesktop.org/mesa/mesa/diff/?id=1ea4ef0d3be829e392922f5d26fbc89bf69a8a67


More information about the mesa-commit mailing list