commit | 742cbee8049f434d8ae7908ee56fe4cad3db2658 | [log] [tgz] |
---|---|---|
author | Daniel Vetter <daniel.vetter@ffwll.ch> | Fri Apr 27 15:17:39 2012 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Sat May 05 19:46:16 2012 +0200 |
tree | 513e556a980b4cd53b08a5cf90815288d9b34c81 | |
parent | e5eb3d63c6182d3f21fbfc836ded748d49d521f9 [diff] |
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 <eugeni.dodonov@intel.com> Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>