summaryrefslogtreecommitdiffstats
path: root/src/intel/tools/intel_dump_gpu.c
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2018-08-23 20:36:16 +0100
committerLionel Landwerlin <[email protected]>2019-03-07 15:08:31 +0000
commit01443f34b4133e23b04718a0a26f317d658de760 (patch)
tree7e58b3b0805d73dc0c197fd12fb0269edb92c7d0 /src/intel/tools/intel_dump_gpu.c
parent2b42adff1421babe402e8c9269c435ea49608006 (diff)
intel/aub_write: split comment section from HW setup
In the future we'll want error2aub to reuse the context image saved by i915 instead of the default one we write in intel_dump_gpu. Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Rafael Antognolli <[email protected]>
Diffstat (limited to 'src/intel/tools/intel_dump_gpu.c')
-rw-r--r--src/intel/tools/intel_dump_gpu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/tools/intel_dump_gpu.c b/src/intel/tools/intel_dump_gpu.c
index ea541bb21fe..937b4f568a0 100644
--- a/src/intel/tools/intel_dump_gpu.c
+++ b/src/intel/tools/intel_dump_gpu.c
@@ -212,6 +212,7 @@ dump_execbuffer2(int fd, struct drm_i915_gem_execbuffer2 *execbuffer2)
if (verbose == 2)
aub_file.verbose_log_file = stdout;
aub_write_header(&aub_file, program_invocation_short_name);
+ aub_write_default_setup(&aub_file);
if (verbose)
printf("[running, output file %s, chipset id 0x%04x, gen %d]\n",