[Intel-gfx] [CI] drm/i915: Track hw reported context runtime

2020-02-16 Thread Chris Wilson
From: Tvrtko Ursulin GPU saves accumulated context runtime (in CS timestamp units) in PPHWSP which will be useful for us in cases when we are not able to track context busyness ourselves (like with GuC). Keep a copy of this in struct intel_context from where it can be easily read even if the

[Intel-gfx] [CI] drm/i915: Track hw reported context runtime

2020-02-16 Thread Chris Wilson
From: Tvrtko Ursulin GPU saves accumulated context runtime (in CS timestamp units) in PPHWSP which will be useful for us in cases when we are not able to track context busyness ourselves (like with GuC). Keep a copy of this in struct intel_context from where it can be easily read even if the

[Intel-gfx] [CI] drm/i915: Track hw reported context runtime

2020-02-16 Thread Chris Wilson
From: Tvrtko Ursulin GPU saves accumulated context runtime (in CS timestamp units) in PPHWSP which will be useful for us in cases when we are not able to track context busyness ourselves (like with GuC). Keep a copy of this in struct intel_context from where it can be easily read even if the

[Intel-gfx] [CI] drm/i915: Track hw reported context runtime

2020-02-16 Thread Chris Wilson
From: Tvrtko Ursulin GPU saves accumulated context runtime (in CS timestamp units) in PPHWSP which will be useful for us in cases when we are not able to track context busyness ourselves (like with GuC). Keep a copy of this in struct intel_context from where it can be easily read even if the

[Intel-gfx] [CI] drm/i915: Track hw reported context runtime

2020-02-16 Thread Chris Wilson
From: Tvrtko Ursulin GPU saves accumulated context runtime (in CS timestamp units) in PPHWSP which will be useful for us in cases when we are not able to track context busyness ourselves (like with GuC). Keep a copy of this in struct intel_context from where it can be easily read even if the

Re: [Intel-gfx] [CI] drm/i915: Track hw reported context runtime

2020-02-16 Thread Lionel Landwerlin
On 16/02/2020 00:06, Chris Wilson wrote: From: Tvrtko Ursulin GPU saves accumulated context runtime (in CS timestamp units) in PPHWSP which will be useful for us in cases when we are not able to track context busyness ourselves (like with GuC). Keep a copy of this in struct intel_context from

[Intel-gfx] [CI] drm/i915: Track hw reported context runtime

2020-02-15 Thread Chris Wilson
From: Tvrtko Ursulin GPU saves accumulated context runtime (in CS timestamp units) in PPHWSP which will be useful for us in cases when we are not able to track context busyness ourselves (like with GuC). Keep a copy of this in struct intel_context from where it can be easily read even if the

[Intel-gfx] [CI] drm/i915: Track hw reported context runtime

2020-02-15 Thread Chris Wilson
From: Tvrtko Ursulin GPU saves accumulated context runtime (in CS timestamp units) in PPHWSP which will be useful for us in cases when we are not able to track context busyness ourselves (like with GuC). Keep a copy of this in struct intel_context from where it can be easily read even if the