Re: [Intel-gfx] [PATCH 12/15] drm/i915: Interrupt routing for GuC submission

2015-06-24 Thread Daniel Vetter
On Tue, Jun 23, 2015 at 04:48:11PM -0700, Yu Dai wrote: > > > On 06/23/2015 04:33 AM, Dave Gordon wrote: > >On 17/06/15 13:41, Daniel Vetter wrote: > >> On Wed, Jun 17, 2015 at 02:22:19PM +0200, Daniel Vetter wrote: > >>> On Wed, Jun 17, 2015 at 09:20:44AM +0100, Dave Gordon wrote: > On 16/0

Re: [Intel-gfx] [PATCH 12/15] drm/i915: Interrupt routing for GuC submission

2015-06-23 Thread Yu Dai
On 06/23/2015 04:33 AM, Dave Gordon wrote: On 17/06/15 13:41, Daniel Vetter wrote: > On Wed, Jun 17, 2015 at 02:22:19PM +0200, Daniel Vetter wrote: >> On Wed, Jun 17, 2015 at 09:20:44AM +0100, Dave Gordon wrote: >>> On 16/06/15 10:24, Chris Wilson wrote: On Mon, Jun 15, 2015 at 07:36:30PM

Re: [Intel-gfx] [PATCH 12/15] drm/i915: Interrupt routing for GuC submission

2015-06-23 Thread Dave Gordon
On 17/06/15 13:41, Daniel Vetter wrote: > On Wed, Jun 17, 2015 at 02:22:19PM +0200, Daniel Vetter wrote: >> On Wed, Jun 17, 2015 at 09:20:44AM +0100, Dave Gordon wrote: >>> On 16/06/15 10:24, Chris Wilson wrote: On Mon, Jun 15, 2015 at 07:36:30PM +0100, Dave Gordon wrote: > +static void di

Re: [Intel-gfx] [PATCH 12/15] drm/i915: Interrupt routing for GuC submission

2015-06-17 Thread Daniel Vetter
On Wed, Jun 17, 2015 at 02:22:19PM +0200, Daniel Vetter wrote: > On Wed, Jun 17, 2015 at 09:20:44AM +0100, Dave Gordon wrote: > > On 16/06/15 10:24, Chris Wilson wrote: > > > On Mon, Jun 15, 2015 at 07:36:30PM +0100, Dave Gordon wrote: > > >> +static void direct_interrupts_to_guc(struct drm_i915_pr

Re: [Intel-gfx] [PATCH 12/15] drm/i915: Interrupt routing for GuC submission

2015-06-17 Thread Daniel Vetter
On Wed, Jun 17, 2015 at 09:20:44AM +0100, Dave Gordon wrote: > On 16/06/15 10:24, Chris Wilson wrote: > > On Mon, Jun 15, 2015 at 07:36:30PM +0100, Dave Gordon wrote: > >> +static void direct_interrupts_to_guc(struct drm_i915_private *dev_priv) > >> +{ > >> + struct intel_engine_cs *ring; > >> +

Re: [Intel-gfx] [PATCH 12/15] drm/i915: Interrupt routing for GuC submission

2015-06-17 Thread Dave Gordon
On 16/06/15 10:24, Chris Wilson wrote: > On Mon, Jun 15, 2015 at 07:36:30PM +0100, Dave Gordon wrote: >> +static void direct_interrupts_to_guc(struct drm_i915_private *dev_priv) >> +{ >> +struct intel_engine_cs *ring; >> +int i, irqs; >> + >> +/* tell all command streamers to forward in

Re: [Intel-gfx] [PATCH 12/15] drm/i915: Interrupt routing for GuC submission

2015-06-16 Thread Chris Wilson
On Mon, Jun 15, 2015 at 07:36:30PM +0100, Dave Gordon wrote: > +static void direct_interrupts_to_guc(struct drm_i915_private *dev_priv) > +{ > + struct intel_engine_cs *ring; > + int i, irqs; > + > + /* tell all command streamers to forward interrupts and vblank to GuC */ > + irqs =

[Intel-gfx] [PATCH 12/15] drm/i915: Interrupt routing for GuC submission

2015-06-15 Thread Dave Gordon
Turn on interrupt steering to route necessary interrupts to GuC. Issue: VIZ-4884 Signed-off-by: Alex Dai Signed-off-by: Dave Gordon --- drivers/gpu/drm/i915/i915_reg.h | 11 +-- drivers/gpu/drm/i915/intel_guc_loader.c | 51 +++ 2 files changed, 60 ins