drm/i915/trace: Describe engines as class:instance pairs
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 25 May 2018 08:26:40 +0000 (09:26 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
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 <tvrtko.ursulin@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: svetlana.kukanova@intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180525082642.18246-1-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/i915_trace.h