Re: [Intel-gfx] [PATCH 3/3] i915/perf: Drop the aged_tail from rewind logic

2023-06-01 Thread Umesh Nerlige Ramappa
On Wed, May 31, 2023 at 09:13:02PM -0700, Dixit, Ashutosh wrote: On Wed, 31 May 2023 16:56:34 -0700, Umesh Nerlige Ramappa wrote: Hi Umesh, Instead of aged_tail use an iterator that starts from the hw_tail and goes backward until the oa_buffer.tail looking for valid reports. Hmm I don't

Re: [Intel-gfx] [PATCH 3/3] i915/perf: Drop the aged_tail from rewind logic

2023-05-31 Thread Dixit, Ashutosh
On Wed, 31 May 2023 16:56:34 -0700, Umesh Nerlige Ramappa wrote: > Hi Umesh, > Instead of aged_tail use an iterator that starts from the hw_tail and > goes backward until the oa_buffer.tail looking for valid reports. Hmm I don't think this description is correct. All this patch is doing is the

[Intel-gfx] [PATCH 3/3] i915/perf: Drop the aged_tail from rewind logic

2023-05-31 Thread Umesh Nerlige Ramappa
Instead of aged_tail use an iterator that starts from the hw_tail and goes backward until the oa_buffer.tail looking for valid reports. Signed-off-by: Umesh Nerlige Ramappa --- drivers/gpu/drm/i915/i915_perf.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git