summaryrefslogtreecommitdiffstats
path: root/src/intel/tools/error2aub.c
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2018-08-26 14:35:30 +0100
committerLionel Landwerlin <[email protected]>2019-03-07 15:08:32 +0000
commit6ef46972d953a3821ea083f36f930407f0663af8 (patch)
tree59a6e2daa6612cfde50f1a53853197c8d591cea0 /src/intel/tools/error2aub.c
parent8a81f5c255a3737f4855496fcd4ff229993f861f (diff)
intel/aub_write: switch to use i915_drm engine classes
Prepare aub write to deal with multiple engine instances. We don't pass the instance number yet this could be done in the future by having a 2 dimensional array of struct engine. Signed-off-by: Lionel Landwerlin <[email protected]> Acked-by: Rafael Antognolli <[email protected]>
Diffstat (limited to 'src/intel/tools/error2aub.c')
-rw-r--r--src/intel/tools/error2aub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/tools/error2aub.c b/src/intel/tools/error2aub.c
index fff36085fef..bf2b60301d6 100644
--- a/src/intel/tools/error2aub.c
+++ b/src/intel/tools/error2aub.c
@@ -326,7 +326,7 @@ main(int argc, char *argv[])
fail_if(!batch_addr, "Failed to find batch buffer.\n");
- aub_write_exec(&aub, batch_addr, aub_gtt_size(&aub), I915_EXEC_RENDER);
+ aub_write_exec(&aub, batch_addr, aub_gtt_size(&aub), I915_ENGINE_CLASS_RENDER);
free(out_filename);
free(line);