Re: [Intel-gfx] [PATCH v2 3/5] drm/i915/guc: Provide debugfs for log relay sub-buf info

2023-03-14 Thread Teres Alexis, Alan Previn
On Thu, 2023-03-09 at 15:29 -0800, Teres Alexis, Alan Previn wrote: > > > alan:snip > > > +static int guc_log_relay_subbuf_size_get(void *data, u64 *val) > > > +{ > > > + struct intel_guc_log *log = data; > > > + > > > + if (!log->vma) > > > + return -ENODEV; > > > > For the record,

Re: [Intel-gfx] [PATCH v2 3/5] drm/i915/guc: Provide debugfs for log relay sub-buf info

2023-03-09 Thread Teres Alexis, Alan Previn
Finally got some time to relook at this series. Responses. I'll re-rev this and re-connect with Ashutosh offline considering how long i've been silent on this. On Wed, 2022-12-07 at 08:43 -0800, Dixit, Ashutosh wrote: > On Tue, 06 Dec 2022 01:20:58 -0800, Alan Previn wrote: > > > > diff --git

Re: [Intel-gfx] [PATCH v2 3/5] drm/i915/guc: Provide debugfs for log relay sub-buf info

2022-12-07 Thread Dixit, Ashutosh
On Tue, 06 Dec 2022 01:20:58 -0800, Alan Previn wrote: > > diff --git a/drivers/gpu/drm/i915/gt/uc/intel_guc_log_debugfs.c > b/drivers/gpu/drm/i915/gt/uc/intel_guc_log_debugfs.c > index ddfbe334689f..27756640338e 100644 > --- a/drivers/gpu/drm/i915/gt/uc/intel_guc_log_debugfs.c > +++

[Intel-gfx] [PATCH v2 3/5] drm/i915/guc: Provide debugfs for log relay sub-buf info

2022-12-06 Thread Alan Previn
In order to provide alignment between IGT intel_guc_logger tool and i915 kernel's guc log relay channels without requiring updating both repositories everytime a sizing change is made, provide that info via debugfs files. Signed-off-by: Alan Previn --- drivers/gpu/drm/i915/gt/uc/intel_guc_log.c