summaryrefslogtreecommitdiff
path: root/tests/ttmtest/src
diff options
context:
space:
mode:
authorPaul Berry <stereotype441@gmail.com>2012-05-04 12:41:00 -0700
committerPaul Berry <stereotype441@gmail.com>2012-05-10 11:32:39 -0700
commitda02f72bc286fd8d669f3860bdd97a8d1a1c3015 (patch)
tree879637f843a63c689d172be5f7c06cae2687f47a /tests/ttmtest/src
parentcf7cc62a9817a495264bbb037f0175cef9bd7a53 (diff)
intel: Add the ability to supply annotations for .aub files.
This patch adds a new function, drm_intel_bufmgr_gem_set_aub_annotations(), which can be used to annotate the type and subtype of data stored in various sections of each buffer. This data is used to populate type and subtype fields when generating the .aub file, which improves the ability of later debugging tools to analyze the contents of the .aub file. If drm_intel_bufmgr_gem_set_aub_annotations() is not called, then we fall back to the old set of annotations (annotate the portion of the batchbuffer that is executed as AUB_TRACE_TYPE_BATCH, and everything else as AUB_TRACE_TYPE_NOTYPE). Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'tests/ttmtest/src')
0 files changed, 0 insertions, 0 deletions