[Intel-gfx] [PATCH 02/10] drm/i915: rework dev->first_error locking

Eugeni Dodonov eugeni.dodonov at linux.intel.com
Fri May 4 19:04:23 CEST 2012


On 04/27/2012 10:17 AM, Daniel Vetter 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>



More information about the Intel-gfx mailing list