[Intel-gfx] [PATCH] drm/i915: don't grab dev->struct_mutex for userspace forcewak

Daniel Vetter daniel at ffwll.ch
Sat Aug 11 22:23:25 CEST 2012


On Fri, Aug 10, 2012 at 11:22:15PM +0100, Chris Wilson wrote:
> On Thu,  9 Aug 2012 22:33:58 +0200, Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
> > Since forcewake is now protected by a spinlock, we don't need to grab
> > dev->struct_mutex any more. This way we can also get rid of a stale
> > comment, noticed by Ben Widawsky while reviewing some locking changes.
> > 
> > Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
> 
> Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
> (Although I still wish it were not so)
Queued for -next, thanks for the review.
-Daniel
-- 
Daniel Vetter
Mail: daniel at ffwll.ch
Mobile: +41 (0)79 365 57 48



More information about the Intel-gfx mailing list