Re: [Intel-gfx] [PATCH 3/3] drm/i915: extract gt interrupt handler

2012-03-31 Thread Daniel Vetter
On Fri, Mar 30, 2012 at 09:31:27PM -0700, Ben Widawsky wrote: > On Fri, 30 Mar 2012 11:28:40 -0700 > Jesse Barnes wrote: > > > On Fri, 30 Mar 2012 20:24:35 +0200 > > Daniel Vetter wrote: > > > > > vlv, ivb and snb all share the gen6+ gt irq handling. 3 copies of > > > the same stuff is a bit mu

Re: [Intel-gfx] [PATCH 3/3] drm/i915: extract gt interrupt handler

2012-03-31 Thread Daniel Vetter
On Fri, Mar 30, 2012 at 09:31:27PM -0700, Ben Widawsky wrote: > On Fri, 30 Mar 2012 11:28:40 -0700 > Jesse Barnes wrote: > > > On Fri, 30 Mar 2012 20:24:35 +0200 > > Daniel Vetter wrote: > > > > > vlv, ivb and snb all share the gen6+ gt irq handling. 3 copies of > > > the same stuff is a bit mu

Re: [Intel-gfx] [PATCH 3/3] drm/i915: extract gt interrupt handler

2012-03-30 Thread Ben Widawsky
On Fri, 30 Mar 2012 11:28:40 -0700 Jesse Barnes wrote: > On Fri, 30 Mar 2012 20:24:35 +0200 > Daniel Vetter wrote: > > > vlv, ivb and snb all share the gen6+ gt irq handling. 3 copies of > > the same stuff is a bit much, so extract it into a little helper. > > > > Now ilk has a different gt ir

Re: [Intel-gfx] [PATCH 3/3] drm/i915: extract gt interrupt handler

2012-03-30 Thread Jesse Barnes
On Fri, 30 Mar 2012 20:24:35 +0200 Daniel Vetter wrote: > vlv, ivb and snb all share the gen6+ gt irq handling. 3 copies of the > same stuff is a bit much, so extract it into a little helper. > > Now ilk has a different gt irq handling than snb, but shares the same > irq handler (due to the simi

[Intel-gfx] [PATCH 3/3] drm/i915: extract gt interrupt handler

2012-03-30 Thread Daniel Vetter
vlv, ivb and snb all share the gen6+ gt irq handling. 3 copies of the same stuff is a bit much, so extract it into a little helper. Now ilk has a different gt irq handling than snb, but shares the same irq handler (due to the similar display block). So also extract the ilk gt irq handling to clear