[Intel-gfx] [PATCH] drm/i915: initialize gen6 rps work queue for Ironlake+

Jesse Barnes jbarnes at virtuousgeek.org
Wed May 18 19:22:27 CEST 2011


On Wed, 18 May 2011 18:37:48 +0200
Ian Romanick <idr at freedesktop.org> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 05/18/2011 06:21 PM, Jesse Barnes wrote:
> > Looks like I didn't merge Ben's RPS work queue stuff correctly with the
> > new IRQ split code (diff was sparse enough that git didn't complain).
> > This should prevent null derefs on ILK+ due to the missing work queue.
> 
> Is this actually needed on Ironlake (i.e., gen5)?
> 
> > Signed-off-by:  Jesse Barnes <jbarnes at virtuousgeek.org>

The work queue is only used on gen6, but gen6 and ilk share an irq
handler.  I could make the work queue init conditional on gen6 though,
if that's what you're thinking.

-- 
Jesse Barnes, Intel Open Source Technology Center



More information about the Intel-gfx mailing list