[Intel-gfx] [PATCH] drm/i915: fix the racy object accounting

Daniel Vetter daniel at ffwll.ch
Thu Jul 25 10:53:04 CEST 2013


On Wed, Jul 24, 2013 at 11:01:08PM +0100, Chris Wilson wrote:
> On Wed, Jul 24, 2013 at 10:40:23PM +0200, Daniel Vetter wrote:
> > Just use a spinlock to protect them.
> > 
> > v2: Rebase onto the new object create refcount fix patch.
> > 
> > v3: Don't kill dev_priv->mm.object_memory as requested by Chris and
> > hence just use a spinlock instead of atomic_t.
> > 
> > Cc: Chris Wilson <chris at chris-wilson.co.uk>
> > Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
> 
> Sadly, I have no better answer to my desire have my cake and eat it.
> Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>

Queued for -next, thanks for the review.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list