[Mesa-dev] [PATCH 00/10] fs debugging: incorporated Chris' feedback

Ben Widawsky ben at bwidawsk.net
Sun Jul 17 16:25:38 PDT 2011


This is the revised patch series for fragment shader debugging.

There is no major change, though of interest are:
  * forcewaked acts more like a daemon
  * forcewaked isn't needed for debugging only there for sample
  * i915 detection is now done by stating i915_forcewake_user_lock
  * register range checking fails for gen2/gen3

drm:
 intel/Makefile.am   |    3 ++-
 intel/intel_debug.h |   44 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+), 1 deletions(-)

mesa:
 src/mesa/drivers/dri/i965/Makefile           |    1 +
 src/mesa/drivers/dri/i965/brw_context.h      |    6 +
 src/mesa/drivers/dri/i965/brw_eu.c           |    6 +
 src/mesa/drivers/dri/i965/brw_eu.h           |    1 +
 src/mesa/drivers/dri/i965/brw_fs_emit.cpp    |   15 +-
 src/mesa/drivers/dri/i965/brw_misc_state.c   |   12 +-
 src/mesa/drivers/dri/i965/brw_state.h        |    6 +-
 src/mesa/drivers/dri/i965/brw_state_cache.c  |   49 +-
 src/mesa/drivers/dri/i965/brw_state_upload.c |   18 +-
 src/mesa/drivers/dri/i965/brw_wm.c           |   27 +-
 src/mesa/drivers/dri/i965/brw_wm.h           |    2 +
 src/mesa/drivers/dri/i965/brw_wm_debug.c     |  108 +
 src/mesa/drivers/dri/i965/brw_wm_emit.c      |    2 +
 src/mesa/drivers/dri/i965/gen6_wm_sr.c       |   31 +
 src/mesa/drivers/dri/i965/gen_wm_sr.g4a      |32826 ++++++++++++++++++++++++++
 15 files changed, 33087 insertions(+), 23 deletions(-)

intel-gpu-tools:
 configure.ac                             |    1 +
 debugger/Makefile.am                     |   12 +
 debugger/debug_rdata.c                   |  141 +++++++
 debugger/eudb.c                          |  604 ++++++++++++++++++++++++++++++
 debugger/system_routine/Makefile         |   84 ++++
 debugger/system_routine/eviction_macro.c |   48 +++
 debugger/system_routine/pre_cpp.py       |  123 ++++++
 debugger/system_routine/sr.g4a           |  277 ++++++++++++++
 debugger/system_routine/test.g4a         |   64 ++++
 lib/Makefile.am                          |    1 +
 lib/debug.h                              |   92 +++++
 lib/intel_chipset.h                      |    8 +
 lib/intel_gpu_tools.h                    |   27 ++
 lib/intel_mmio.c                         |  162 ++++++++-
 lib/intel_reg.h                          |    4 +
 lib/intel_reg_map.c                      |  178 +++++++++
 tools/Makefile.am                        |    1 +
 tools/forcewaked.c                       |  106 ++++++
 18 files changed, 1932 insertions(+), 1 deletions(-)


Thanks.
Ben


More information about the mesa-dev mailing list