Re: [Intel-gfx] [PATCH v4 2/3] drm/i915/guc: Make scratch register base and count flexible

2017-05-10 Thread Joonas Lahtinen
On ke, 2017-05-10 at 13:32 +0300, Jani Nikula wrote: > > On Wed, 10 May 2017, Joonas Lahtinen > > wrote: > > > > On ti, 2017-05-09 at 14:08 +, Michal Wajdeczko wrote: > > > > > > We are using some scratch registers in MMIO based send function. > > > Make

Re: [Intel-gfx] [PATCH v4 2/3] drm/i915/guc: Make scratch register base and count flexible

2017-05-10 Thread Jani Nikula
On Wed, 10 May 2017, Joonas Lahtinen wrote: > On ti, 2017-05-09 at 14:08 +, Michal Wajdeczko wrote: >> We are using some scratch registers in MMIO based send function. >> Make their base and count flexible in preparation of upcoming >> GuC firmware/hardware

Re: [Intel-gfx] [PATCH v4 2/3] drm/i915/guc: Make scratch register base and count flexible

2017-05-10 Thread Joonas Lahtinen
On ti, 2017-05-09 at 14:08 +, Michal Wajdeczko wrote: > We are using some scratch registers in MMIO based send function. > Make their base and count flexible in preparation of upcoming > GuC firmware/hardware changes. While around, change cmd len > parameter verification from WARN_ON to

[Intel-gfx] [PATCH v4 2/3] drm/i915/guc: Make scratch register base and count flexible

2017-05-09 Thread Michal Wajdeczko
We are using some scratch registers in MMIO based send function. Make their base and count flexible in preparation of upcoming GuC firmware/hardware changes. While around, change cmd len parameter verification from WARN_ON to GEM_BUG_ON as we don't need this all the time. v2: call out