[Mesa-dev] [PATCH v2 0/4] string-marker support

Rob Clark robdclark at gmail.com
Wed Jan 20 11:32:03 PST 2016


From: Rob Clark <robclark at freedesktop.org>

Slightly overdue respin of the patchset.  Addressing the couple minor
points from Emil.  (Spiffed out commit msg on 3/4 and couple tweaks
on 1/4), but overall other than rebasing not much has changed.

Note that I need to clean them up a bit and resend, but I have apitrace
replay patches for emitting draw call name & number when replaying a
trace, and cffdump (cmdstream decoder) support for the markers emitted
in the cmdstream.  Which, when you know where in the cmdstream the gpu
crashed (which I have by using some scratch regs to track progress),
gives you a nice way to map back to the position in the apitrace (and
what shaders where bound, etc).

Would be nice to get some r/b's (or feedback if there are other things
to address), since rebasing things that add new gallium pipe caps is
kind of annoying ;-)

Rob Clark (4):
  mesa: add GREMEDY_string_marker
  mesa: wire up EmitStringMarker for KHR_debug
  gallium: add GREMEDY_string_marker
  freedreno: implement emit_string_marker

 src/gallium/docs/source/screen.rst                |  1 +
 src/gallium/drivers/freedreno/freedreno_context.c | 27 +++++++++++++++++++++++
 src/gallium/drivers/freedreno/freedreno_screen.c  |  1 +
 src/gallium/drivers/i915/i915_screen.c            |  1 +
 src/gallium/drivers/ilo/ilo_screen.c              |  1 +
 src/gallium/drivers/llvmpipe/lp_screen.c          |  1 +
 src/gallium/drivers/nouveau/nv30/nv30_screen.c    |  1 +
 src/gallium/drivers/nouveau/nv50/nv50_screen.c    |  1 +
 src/gallium/drivers/nouveau/nvc0/nvc0_screen.c    |  1 +
 src/gallium/drivers/r300/r300_screen.c            |  1 +
 src/gallium/drivers/r600/r600_pipe.c              |  1 +
 src/gallium/drivers/radeonsi/si_pipe.c            |  1 +
 src/gallium/drivers/softpipe/sp_screen.c          |  1 +
 src/gallium/drivers/svga/svga_screen.c            |  1 +
 src/gallium/drivers/vc4/vc4_screen.c              |  1 +
 src/gallium/include/pipe/p_context.h              |  7 ++++++
 src/gallium/include/pipe/p_defines.h              |  1 +
 src/mapi/glapi/gen/GREMEDY_string_marker.xml      | 18 +++++++++++++++
 src/mapi/glapi/gen/Makefile.am                    |  1 +
 src/mapi/glapi/gen/gl_API.xml                     |  2 ++
 src/mesa/main/dd.h                                |  6 +++++
 src/mesa/main/errors.c                            | 20 +++++++++++++++++
 src/mesa/main/errors.h                            |  3 +++
 src/mesa/main/extensions_table.h                  |  2 ++
 src/mesa/main/mtypes.h                            |  1 +
 src/mesa/main/tests/dispatch_sanity.cpp           |  3 +++
 src/mesa/state_tracker/st_context.c               |  9 ++++++++
 src/mesa/state_tracker/st_debug.c                 |  1 +
 src/mesa/state_tracker/st_debug.h                 |  1 +
 src/mesa/state_tracker/st_extensions.c            |  5 +++++
 30 files changed, 121 insertions(+)
 create mode 100644 src/mapi/glapi/gen/GREMEDY_string_marker.xml

-- 
2.5.0



More information about the mesa-dev mailing list