Mesa (master): intel: Use libdrm' s decode functionality instead of the gpu-tools copy.

Eric Anholt anholt at kemper.freedesktop.org
Mon Jan 30 19:35:39 UTC 2012


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

Author: Eric Anholt <eric at anholt.net>
Date:   Tue Dec 20 14:42:48 2011 -0800

intel: Use libdrm's decode functionality instead of the gpu-tools copy.

While typing out the new decode, I added a fallback mode for dumping
when we fail to re-map the BO after execution.  This should get us a
minimal dump when trying to dump a batch that results in a GPU hang.

---

 src/mesa/drivers/dri/i915/Makefile.sources     |    1 -
 src/mesa/drivers/dri/i965/Makefile.sources     |    1 -
 src/mesa/drivers/dri/intel/intel_batchbuffer.c |   52 +-
 src/mesa/drivers/dri/intel/intel_decode.c      | 2751 ------------------------
 src/mesa/drivers/dri/intel/intel_decode.h      |   31 -
 5 files changed, 41 insertions(+), 2795 deletions(-)

Diff:   http://cgit.freedesktop.org/mesa/mesa/diff/?id=61b9ccd9e298ca1d3db55aee0cb2ff78662d6fa6



More information about the mesa-commit mailing list