drm/i915/trace: Describe engines as class:instance pairs
authorTvrtko Ursulin <[email protected]>
Fri, 25 May 2018 08:26:40 +0000 (09:26 +0100)
committerTvrtko Ursulin <[email protected]>
Tue, 5 Jun 2018 15:44:11 +0000 (16:44 +0100)
commit2956e970f0b5f760a7c595730bac81d2f5e6250c
tree958f646b38bca8dd8565170ace63df0017c2c8aa
parent420980ca79bcac50cab5bfd20c3d7e5425b1f3d6
drm/i915/trace: Describe engines as class:instance pairs

Instead of using the engine->id, use uabi_class:instance pairs in trace-
points including engine info.

This will be more readable, more future proof and more stable for
userspace consumption.

v2:
 * Use u16 for class and instance. (Chris Wilson)

Signed-off-by: Tvrtko Ursulin <[email protected]>
Cc: Chris Wilson <[email protected]>
Cc: [email protected]
Reviewed-by: Chris Wilson <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/i915_trace.h