Re: [Intel-gfx] [PATCH 12/15] drm/i915/guc: Don't print out relay statistics when relay is disabled

2018-03-06 Thread Sagar Arun Kamble
I think we should also clear the stats.count and relay_full_count on relay_open. Thanks Sagar On 2/27/2018 6:22 PM, Michał Winiarski wrote: If nobody has enabled the relay, we're not comunicating with GuC, which means that the stats don't have any meaning. Let's also remove interrupt counter a

Re: [Intel-gfx] [PATCH 12/15] drm/i915/guc: Don't print out relay statistics when relay is disabled

2018-03-06 Thread Michał Winiarski
On Tue, Mar 06, 2018 at 04:51:27PM +0530, Sagar Arun Kamble wrote: > > > On 2/27/2018 6:22 PM, Michał Winiarski wrote: > > If nobody has enabled the relay, we're not comunicating with GuC, which > > means that the stats don't have any meaning. Let's also remove interrupt > > counter > reason for

Re: [Intel-gfx] [PATCH 12/15] drm/i915/guc: Don't print out relay statistics when relay is disabled

2018-03-06 Thread Sagar Arun Kamble
On 2/27/2018 6:22 PM, Michał Winiarski wrote: If nobody has enabled the relay, we're not comunicating with GuC, which means that the stats don't have any meaning. Let's also remove interrupt counter reason for this? I think this was needed for verifying log flushes. and tidy the debugfs for