From: Daniel Vetter Date: Fri, 27 Apr 2012 13:17:39 +0000 (+0200) Subject: drm/i915: rework dev->first_error locking X-Git-Tag: v3.5-rc1~83^2~8^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=742cbee8049f434d8ae7908ee56fe4cad3db2658;p=pandora-kernel.git drm/i915: rework dev->first_error locking - 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. Reviewed-by: Eugeni Dodonov Signed-Off-by: Daniel Vetter --- Reading git-diff-tree failed