intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/10] fs shader debugging
@ 2011-07-13 20:51 Ben Widawsky
  2011-07-13 20:51 ` [PATCH 01/10] intel: shared header for " Ben Widawsky
                   ` (10 more replies)
  0 siblings, 11 replies; 26+ messages in thread
From: Ben Widawsky @ 2011-07-13 20:51 UTC (permalink / raw)
  To: intel-gfx; +Cc: mesa-dev, Ben Widawsky, Carl Worth, dri-devel



Version 2 of the patch series is pretty much the same as version 1. 2 of the
patches have already been picked up by the kernel and mesa so they are
gone.

The only major change is in mesa where I no longer load a binary blob
from an environment variable, but instead compile the bytes directly in
to Mesa.

Ben


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   |   13 +-
 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, 33088 insertions(+), 23 deletions(-)

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

intel-gpu-tools:
 configure.ac                             |    1 +
 debugger/Makefile.am                     |   12 +
 debugger/debug_rdata.c                   |  141 +++++++
 debugger/eudb.c                          |  590 ++++++++++++++++++++++++++++++
 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                         |  178 +++++++++
 lib/intel_reg.h                          |    5 +
 lib/intel_reg_map.c                      |  174 +++++++++
 tools/Makefile.am                        |    1 +
 tools/forcewaked.c                       |   45 +++
 18 files changed, 1871 insertions(+), 0 deletions(-)

^ permalink raw reply	[flat|nested] 26+ messages in thread
* [PATCH 00/10] fs debugging: incorporated Chris' feedback
@ 2011-07-17 23:25 Ben Widawsky
  2011-07-17 23:25 ` [PATCH 09/10] debugging: add important debug regs Ben Widawsky
  0 siblings, 1 reply; 26+ messages in thread
From: Ben Widawsky @ 2011-07-17 23:25 UTC (permalink / raw)
  To: intel-gfx; +Cc: mesa-dev, Ben Widawsky, Carl Worth, dri-devel

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

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2011-07-27 15:40 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-13 20:51 [PATCH 0/10] fs shader debugging Ben Widawsky
2011-07-13 20:51 ` [PATCH 01/10] intel: shared header for " Ben Widawsky
2011-07-13 20:56   ` Chris Wilson
2011-07-19 21:06   ` [Intel-gfx] " Julien Cristau
2011-07-21 13:54     ` Ben Widawsky
2011-07-21 21:22       ` [Intel-gfx] " Julien Cristau
2011-07-27 15:08         ` Ben Widawsky
2011-07-27 15:16           ` Julien Cristau
2011-07-27 15:28             ` Alan Cox
2011-07-27 15:40             ` Ben Widawsky
2011-07-13 20:51 ` [PATCH 02/10] i965: copy in system routine, reserve extra scratch Ben Widawsky
2011-07-18 18:13   ` Eric Anholt
2011-07-13 20:51 ` [PATCH 03/10] i965: Reserve scratch space for debugger communication Ben Widawsky
2011-07-13 20:51 ` [PATCH 04/10] i965: setup system routine Ben Widawsky
2011-07-13 21:04   ` [Mesa-dev] " Chris Wilson
2011-07-13 20:51 ` [PATCH 05/10] i965: emit breakpoints Ben Widawsky
2011-07-13 20:51 ` [PATCH 06/10] i965: attach to a listening debugger Ben Widawsky
2011-07-13 20:51 ` [PATCH 07/10] intel-gpu-tools: register range handling for forcewake hooks Ben Widawsky
2011-07-13 21:15   ` Chris Wilson
2011-07-13 20:51 ` [PATCH 08/10] intel-gpu-tools/forcewaked: simple forcewake app Ben Widawsky
2011-07-13 21:18   ` Chris Wilson
2011-07-13 20:51 ` [PATCH 09/10] debugging: add important debug regs Ben Widawsky
2011-07-13 21:20   ` Chris Wilson
2011-07-13 20:51 ` [PATCH 10/10] debugging: shader debugging Ben Widawsky
2011-07-13 22:06 ` [PATCH 0/10] fs " Ben Widawsky
2011-07-17 23:25 [PATCH 00/10] fs debugging: incorporated Chris' feedback Ben Widawsky
2011-07-17 23:25 ` [PATCH 09/10] debugging: add important debug regs Ben Widawsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).