aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/tools/aubinator_viewer.h
diff options
context:
space:
mode:
authorToni Lönnberg <[email protected]>2018-11-07 16:50:32 +0200
committerLionel Landwerlin <[email protected]>2018-11-13 15:10:12 +0000
commit102dadec811be75f61e22cea36268379bb545772 (patch)
tree28785d89e3441a8bf66031afc90396147b8b35bc /src/intel/tools/aubinator_viewer.h
parenta6aab7e4364709778652f11586607dfac7284c4e (diff)
intel/decoder: tools: Use engine for decoding batch instructions
The engine to which the batch was sent to is now set to the decoder context when decoding the batch. This is needed so that we can distinguish between instructions as the render and video pipe share some of the instruction opcodes. v2: The engine is now in the decoder context and the batch decoder uses a local function for finding the instruction for an engine. v3: Spec uses engine_mask now instead of engine, replaced engine class enums with the definitions from UAPI. v4: Fix up aubinator_viewer (Lionel) Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/tools/aubinator_viewer.h')
-rw-r--r--src/intel/tools/aubinator_viewer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/tools/aubinator_viewer.h b/src/intel/tools/aubinator_viewer.h
index 4a030efc0d0..7819e593462 100644
--- a/src/intel/tools/aubinator_viewer.h
+++ b/src/intel/tools/aubinator_viewer.h
@@ -68,6 +68,7 @@ struct aub_viewer_decode_ctx {
struct gen_spec *spec;
struct gen_disasm *disasm;
+ enum drm_i915_gem_engine_class engine;
struct aub_viewer_cfg *cfg;
struct aub_viewer_decode_cfg *decode_cfg;