Re: [Intel-gfx] [PATCH 1/2] drm/i915/guc: Add error-capture init warnings when needed

2022-10-18 Thread Teres Alexis, Alan Previn
> > > Also commit message you can aim to wrap at 75 chars as per > > > submitting-patches.rst. > > > > > > > + return -ENODATA; > > > > > > Is this a new exit condition or the thing would exit on the !num_regs > > > check below anyway? Just wondering if the series is only about lo

Re: [Intel-gfx] [PATCH 1/2] drm/i915/guc: Add error-capture init warnings when needed

2022-10-18 Thread Teres Alexis, Alan Previn
Update: One additional change needed... after more testing i have come to realize that intel_guc_capture_getlistsize is also being triggered before ADS-guc-error-capture register-list population during initialization of the guc-error-capture module itself  (intel_guc_capture_init). Its getting

Re: [Intel-gfx] [PATCH 1/2] drm/i915/guc: Add error-capture init warnings when needed

2022-10-18 Thread Tvrtko Ursulin
On 17/10/2022 18:46, Teres Alexis, Alan Previn wrote: On Mon, 2022-10-17 at 09:42 +0100, Tvrtko Ursulin wrote: On 15/10/2022 04:59, Alan Previn wrote: If GuC is being used and we initialized GuC-error-capture, we need to be warning if we don't provide an error-capture register list in the fir

Re: [Intel-gfx] [PATCH 1/2] drm/i915/guc: Add error-capture init warnings when needed

2022-10-17 Thread John Harrison
On 10/17/2022 16:36, Teres Alexis, Alan Previn wrote: Agreed on all the others (as per my other reply to Tvrtko), but on that 2nd last one: On Mon, 2022-10-17 at 12:33 -0700, Harrison, John C wrote: On 10/14/2022 20:59, Alan Previn wrote: If GuC is being used and we initialized GuC-error-capt

Re: [Intel-gfx] [PATCH 1/2] drm/i915/guc: Add error-capture init warnings when needed

2022-10-17 Thread Teres Alexis, Alan Previn
Agreed on all the others (as per my other reply to Tvrtko), but on that 2nd last one: On Mon, 2022-10-17 at 12:33 -0700, Harrison, John C wrote: > On 10/14/2022 20:59, Alan Previn wrote: > > If GuC is being used and we initialized GuC-error-capture, > > we need to be warning if we don't provide a

Re: [Intel-gfx] [PATCH 1/2] drm/i915/guc: Add error-capture init warnings when needed

2022-10-17 Thread John Harrison
On 10/14/2022 20:59, Alan Previn wrote: If GuC is being used and we initialized GuC-error-capture, we need to be warning if we don't provide an error-capture register list in the firmware ADS, for valid GT engines. A warning makes sense as this would impact debugability without realizing why a re

Re: [Intel-gfx] [PATCH 1/2] drm/i915/guc: Add error-capture init warnings when needed

2022-10-17 Thread Teres Alexis, Alan Previn
On Mon, 2022-10-17 at 09:42 +0100, Tvrtko Ursulin wrote: > On 15/10/2022 04:59, Alan Previn wrote: > > If GuC is being used and we initialized GuC-error-capture, > > we need to be warning if we don't provide an error-capture > > register list in the firmware ADS, for valid GT engines. > > A warni

Re: [Intel-gfx] [PATCH 1/2] drm/i915/guc: Add error-capture init warnings when needed

2022-10-17 Thread Tvrtko Ursulin
On 15/10/2022 04:59, Alan Previn wrote: If GuC is being used and we initialized GuC-error-capture, we need to be warning if we don't provide an error-capture register list in the firmware ADS, for valid GT engines. A warning makes sense as this would impact debugability without realizing why a

[Intel-gfx] [PATCH 1/2] drm/i915/guc: Add error-capture init warnings when needed

2022-10-14 Thread Alan Previn
If GuC is being used and we initialized GuC-error-capture, we need to be warning if we don't provide an error-capture register list in the firmware ADS, for valid GT engines. A warning makes sense as this would impact debugability without realizing why a reglist wasn't retrieved and reported by GuC