Re: [Intel-gfx] [RFC 5/6] drm/i915: Expose per-engine client busyness

2019-05-10 Thread Tvrtko Ursulin
On 10/05/2019 14:57, Chris Wilson wrote: Quoting Tvrtko Ursulin (2019-05-10 14:22:39) +static const char *uabi_class_names[] = { + [I915_ENGINE_CLASS_RENDER] = "0", + [I915_ENGINE_CLASS_COPY] = "1", + [I915_ENGINE_CLASS_VIDEO] = "2", + [COPY_ENGINE_CLASS] = "3", I915_E

Re: [Intel-gfx] [RFC 5/6] drm/i915: Expose per-engine client busyness

2019-05-10 Thread Chris Wilson
Quoting Tvrtko Ursulin (2019-05-10 14:22:39) > +static const char *uabi_class_names[] = { > + [I915_ENGINE_CLASS_RENDER] = "0", > + [I915_ENGINE_CLASS_COPY] = "1", > + [I915_ENGINE_CLASS_VIDEO] = "2", > + [COPY_ENGINE_CLASS] = "3", I915_ENGINE_CLASS_VIDEO_ENHANCE? -Chris __

[Intel-gfx] [RFC 5/6] drm/i915: Expose per-engine client busyness

2019-05-10 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Expose per-client and per-engine busyness under the previously added sysfs client root. The new files are one per-engine instance and located under the 'busy' directory. Each contains a monotonically increasing nano-second resolution times each client's jobs were executing o