[Intel-gfx] [PATCH 1/2] drm/i915/trace: Describe engines as class:instance pairs

Lionel Landwerlin lionel.g.landwerlin at intel.com
Thu May 24 16:13:21 UTC 2018


On 24/05/18 17:07, Tvrtko Ursulin wrote:
>
> On 24/05/2018 16:53, Lionel Landwerlin wrote:
>> On 24/05/18 16:04, Tvrtko Ursulin wrote:
>>> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
>>>
>>> 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.
>>>
>>> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
>>> Cc: Chris Wilson <chris at chris-wilson.co.uk>
>>> Cc: svetlana.kukanova at intel.com
>> Don't you want engine->uabi_id instead of engine->instance ?
>
> No, class:instance is the new engine identifier - why do you think we 
> would need legacy engine->uabi_id?

Maybe I forgot about your engine listing series...
I would expect the tracepoint to match the engines listed through that uapi.

-
Lionel

>
> Regards,
>
> Tvrtko
>



More information about the Intel-gfx mailing list