intel: Add .aub file output support.
authorEric Anholt <eric@anholt.net>
Tue, 11 Oct 2011 22:59:03 +0000 (15:59 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 10 Mar 2012 00:34:14 +0000 (16:34 -0800)
commit4db16a9480af2c4f36eb8023193cd54545efbe54
tree4635807428852255ae846d4a9f15184e7bd88af3
parent6e642db7f4a5628ed63ca3c479f06bd6f2ca3893
intel: Add .aub file output support.

This will allow the driver to capture all of its execution state to a
file for later debugging.  intel_gpu_dump is limited in that it only
captures batchbuffers, and Mesa's captures, while more complete, still
capture only a portion of the state involved in execution.

This is a squash commit of a long series of hacking as we tried to get
the resulting traces to work in the internal simulator.  It contains
contributions by Yuanhan Liu and Kenneth Graunke.

v2: Drop the MI_FLUSH_ENABLE setup.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
intel/Makefile.am
intel/intel_aub.h [new file with mode: 0644]
intel/intel_bufmgr.h
intel/intel_bufmgr_gem.c