Re: [PATCH] drm/i915: Fix context runtime accounting

2023-03-31 Thread Tvrtko Ursulin
On 31/03/2023 07:25, Matthew Auld wrote: On Mon, 20 Mar 2023 at 15:14, Tvrtko Ursulin wrote: From: Tvrtko Ursulin When considering whether to mark one context as stopped and another as started we need to look at whether the previous and new _contexts_ are different and not just requests.

Re: [PATCH] drm/i915: Fix context runtime accounting

2023-03-31 Thread Matthew Auld
On Mon, 20 Mar 2023 at 15:14, Tvrtko Ursulin wrote: > > From: Tvrtko Ursulin > > When considering whether to mark one context as stopped and another as > started we need to look at whether the previous and new _contexts_ are > different and not just requests. Otherwise the software tracked

[PATCH] drm/i915: Fix context runtime accounting

2023-03-20 Thread Tvrtko Ursulin
From: Tvrtko Ursulin When considering whether to mark one context as stopped and another as started we need to look at whether the previous and new _contexts_ are different and not just requests. Otherwise the software tracked context start time was incorrectly updated to the most recent