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

Eugeni Dodonov eugeni at dodonov.net
Wed Dec 14 19:37:40 CET 2011


On Wed, Dec 14, 2011 at 10:57, 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: Eugeni Dodonov <eugeni.dodonov at intel.com>


-- 
Eugeni Dodonov
<http://eugeni.dodonov.net/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20111214/904d8bba/attachment.html>


More information about the Intel-gfx mailing list