[Intel-gfx] [PATCH 16/43] drm/i915: rework dev->first_error locking

Chris Wilson chris at chris-wilson.co.uk
Wed Dec 14 16:13:16 CET 2011


On Wed, 14 Dec 2011 13:57:13 +0100, Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
> - reduce the irq disabled section, even for a debugfs file this was
>   way too long.
> - always disable irqs when taking the lock.
> 
> v2: Thou shalt not mistake locking for reference counting, so:
> - reference count the error_state to protect from concurent freeeing.
>   This will be only really used in the next patch.
> 
> Signed-Off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list