freedreno/cffdec: Add NOP debug messages

We want to encode special messages into the CS that can be printed
by cffdec, these messages have identifiers that describe their
usage (message, scope begin and scope end) which allow for an
improved trace navigation experience due to the additional
information.

Signed-off-by: Mark Collins <mark@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18271>
This commit is contained in:
Mark Collins
2022-10-20 18:35:57 +00:00
committed by Marge Bot
parent d151ba5c30
commit d558309d67
2 changed files with 40 additions and 8 deletions

View File

@@ -41,6 +41,9 @@ u_trace is controlled by environment variables:
enables marker instrumentation, will print utrace markers into
the CS which can then be viewed by dumping the CS from the driver.
- For Turnip, ``cffdump`` can be used to view the markers in
the trace.
:envvar:`MESA_GPU_TRACEFILE`
specifies a file where to write the output instead of ``stdout``