Re: [Intel-gfx] [PATCH] drm/i915: Fix NPD in PMU during driver teardown

2022-08-03 Thread Summers, Stuart
On Thu, 2022-07-21 at 08:43 +0100, Tvrtko Ursulin wrote: > On 21/07/2022 05:30, Summers, Stuart wrote: > > On Wed, 2022-07-20 at 13:07 -0700, Umesh Nerlige Ramappa wrote: > > > On Wed, Jul 20, 2022 at 09:14:38AM +0100, Tvrtko Ursulin wrote: > > > > On 20/07/2022 01:22, Umesh Nerlige Ramappa wrote:

Re: [Intel-gfx] [PATCH] drm/i915: Fix NPD in PMU during driver teardown

2022-07-21 Thread Tvrtko Ursulin
On 21/07/2022 05:30, Summers, Stuart wrote: On Wed, 2022-07-20 at 13:07 -0700, Umesh Nerlige Ramappa wrote: On Wed, Jul 20, 2022 at 09:14:38AM +0100, Tvrtko Ursulin wrote: On 20/07/2022 01:22, Umesh Nerlige Ramappa wrote: On Tue, Jul 19, 2022 at 10:00:01AM +0100, Tvrtko Ursulin wrote: On 12

Re: [Intel-gfx] [PATCH] drm/i915: Fix NPD in PMU during driver teardown

2022-07-20 Thread Summers, Stuart
On Wed, 2022-07-20 at 13:07 -0700, Umesh Nerlige Ramappa wrote: > On Wed, Jul 20, 2022 at 09:14:38AM +0100, Tvrtko Ursulin wrote: > > On 20/07/2022 01:22, Umesh Nerlige Ramappa wrote: > > > On Tue, Jul 19, 2022 at 10:00:01AM +0100, Tvrtko Ursulin wrote: > > > > On 12/07/2022 22:03, Umesh Nerlige Ra

Re: [Intel-gfx] [PATCH] drm/i915: Fix NPD in PMU during driver teardown

2022-07-20 Thread Umesh Nerlige Ramappa
On Wed, Jul 20, 2022 at 09:14:38AM +0100, Tvrtko Ursulin wrote: On 20/07/2022 01:22, Umesh Nerlige Ramappa wrote: On Tue, Jul 19, 2022 at 10:00:01AM +0100, Tvrtko Ursulin wrote: On 12/07/2022 22:03, Umesh Nerlige Ramappa wrote: On Mon, Jul 04, 2022 at 09:31:55AM +0100, Tvrtko Ursulin wrote:

Re: [Intel-gfx] [PATCH] drm/i915: Fix NPD in PMU during driver teardown

2022-07-20 Thread Tvrtko Ursulin
On 20/07/2022 01:22, Umesh Nerlige Ramappa wrote: On Tue, Jul 19, 2022 at 10:00:01AM +0100, Tvrtko Ursulin wrote: On 12/07/2022 22:03, Umesh Nerlige Ramappa wrote: On Mon, Jul 04, 2022 at 09:31:55AM +0100, Tvrtko Ursulin wrote: On 01/07/2022 15:54, Summers, Stuart wrote: On Fri, 2022-07-0

Re: [Intel-gfx] [PATCH] drm/i915: Fix NPD in PMU during driver teardown

2022-07-19 Thread Umesh Nerlige Ramappa
On Tue, Jul 19, 2022 at 10:00:01AM +0100, Tvrtko Ursulin wrote: On 12/07/2022 22:03, Umesh Nerlige Ramappa wrote: On Mon, Jul 04, 2022 at 09:31:55AM +0100, Tvrtko Ursulin wrote: On 01/07/2022 15:54, Summers, Stuart wrote: On Fri, 2022-07-01 at 09:37 +0100, Tvrtko Ursulin wrote: On 01/07/202

Re: [Intel-gfx] [PATCH] drm/i915: Fix NPD in PMU during driver teardown

2022-07-19 Thread Tvrtko Ursulin
On 12/07/2022 22:03, Umesh Nerlige Ramappa wrote: On Mon, Jul 04, 2022 at 09:31:55AM +0100, Tvrtko Ursulin wrote: On 01/07/2022 15:54, Summers, Stuart wrote: On Fri, 2022-07-01 at 09:37 +0100, Tvrtko Ursulin wrote: On 01/07/2022 01:11, Umesh Nerlige Ramappa wrote: On Thu, Jun 30, 2022 at 0

Re: [Intel-gfx] [PATCH] drm/i915: Fix NPD in PMU during driver teardown

2022-07-12 Thread Umesh Nerlige Ramappa
On Mon, Jul 04, 2022 at 09:31:55AM +0100, Tvrtko Ursulin wrote: On 01/07/2022 15:54, Summers, Stuart wrote: On Fri, 2022-07-01 at 09:37 +0100, Tvrtko Ursulin wrote: On 01/07/2022 01:11, Umesh Nerlige Ramappa wrote: On Thu, Jun 30, 2022 at 09:00:28PM +, Stuart Summers wrote: In the driver

Re: [Intel-gfx] [PATCH] drm/i915: Fix NPD in PMU during driver teardown

2022-07-04 Thread Tvrtko Ursulin
On 01/07/2022 15:54, Summers, Stuart wrote: On Fri, 2022-07-01 at 09:37 +0100, Tvrtko Ursulin wrote: On 01/07/2022 01:11, Umesh Nerlige Ramappa wrote: On Thu, Jun 30, 2022 at 09:00:28PM +, Stuart Summers wrote: In the driver teardown, we are unregistering the gt prior to unregistering th

Re: [Intel-gfx] [PATCH] drm/i915: Fix NPD in PMU during driver teardown

2022-07-01 Thread Umesh Nerlige Ramappa
On Fri, Jul 01, 2022 at 09:37:20AM +0100, Tvrtko Ursulin wrote: On 01/07/2022 01:11, Umesh Nerlige Ramappa wrote: On Thu, Jun 30, 2022 at 09:00:28PM +, Stuart Summers wrote: In the driver teardown, we are unregistering the gt prior to unregistering the PMU. This means there is a small wind

[Intel-gfx] [PATCH] drm/i915: Fix NPD in PMU during driver teardown

2022-07-01 Thread Stuart Summers
In the driver teardown, we are unregistering the gt prior to unregistering the PMU. This means there is a small window of time in which the application can request metrics from the PMU, some of which are calling into the uapi engines list, while the engines are not available. In this case we can se

Re: [Intel-gfx] [PATCH] drm/i915: Fix NPD in PMU during driver teardown

2022-07-01 Thread Summers, Stuart
On Fri, 2022-07-01 at 09:37 +0100, Tvrtko Ursulin wrote: > On 01/07/2022 01:11, Umesh Nerlige Ramappa wrote: > > On Thu, Jun 30, 2022 at 09:00:28PM +, Stuart Summers wrote: > > > In the driver teardown, we are unregistering the gt prior > > > to unregistering the PMU. This means there is a smal

Re: [Intel-gfx] [PATCH] drm/i915: Fix NPD in PMU during driver teardown

2022-07-01 Thread Tvrtko Ursulin
On 01/07/2022 01:11, Umesh Nerlige Ramappa wrote: On Thu, Jun 30, 2022 at 09:00:28PM +, Stuart Summers wrote: In the driver teardown, we are unregistering the gt prior to unregistering the PMU. This means there is a small window of time in which the application can request metrics from the

Re: [Intel-gfx] [PATCH] drm/i915: Fix NPD in PMU during driver teardown

2022-06-30 Thread Umesh Nerlige Ramappa
On Thu, Jun 30, 2022 at 09:00:28PM +, Stuart Summers wrote: In the driver teardown, we are unregistering the gt prior to unregistering the PMU. This means there is a small window of time in which the application can request metrics from the PMU, some of which are calling into the uapi engines

[Intel-gfx] [PATCH] drm/i915: Fix NPD in PMU during driver teardown

2022-06-30 Thread Stuart Summers
In the driver teardown, we are unregistering the gt prior to unregistering the PMU. This means there is a small window of time in which the application can request metrics from the PMU, some of which are calling into the uapi engines list, while the engines are not available. In this case we can se

[Intel-gfx] [PATCH] drm/i915: Fix NPD in PMU during driver teardown

2022-06-30 Thread Stuart Summers
In the driver teardown, we are unregistering the gt prior to unregistering the PMU. This means there is a small window of time in which the application can request metrics from the PMU, some of which are calling into the uapi engines list, while the engines are not available. In this case we can se

Re: [Intel-gfx] [PATCH] drm/i915: Fix NPD in PMU during driver teardown

2022-06-30 Thread Summers, Stuart
On Thu, 2022-06-30 at 11:29 +0100, Tvrtko Ursulin wrote: > On 29/06/2022 19:46, Stuart Summers wrote: > > In the driver teardown, we are unregistering the gt prior > > to unregistering the PMU. This means there is a small window > > of time in which the application can request metrics from the > >

Re: [Intel-gfx] [PATCH] drm/i915: Fix NPD in PMU during driver teardown

2022-06-30 Thread Tvrtko Ursulin
On 29/06/2022 19:46, Stuart Summers wrote: In the driver teardown, we are unregistering the gt prior to unregistering the PMU. This means there is a small window of time in which the application can request metrics from the PMU, some of which are calling into the uapi engines list, while the en

[Intel-gfx] [PATCH] drm/i915: Fix NPD in PMU during driver teardown

2022-06-29 Thread Stuart Summers
In the driver teardown, we are unregistering the gt prior to unregistering the PMU. This means there is a small window of time in which the application can request metrics from the PMU, some of which are calling into the uapi engines list, while the engines are not available. In this case we can se