drm/i915: use drm_modeset_lock_all
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 2 Dec 2012 00:05:46 +0000 (01:05 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 20 Jan 2013 21:16:47 +0000 (22:16 +0100)
commita0e99e68c12ac6dc5d6b1da7942b5e05d5f848af
tree13ffff3db0093be6878887ceebfbd0fafc2dc5d6
parent848499032504b1defdebdcf930aa70bd01a45ac1
drm/i915: use drm_modeset_lock_all

Two exceptions:
- debugfs files only read information which is not related to crtc, so
  can stay on the modeset_config lock.
- Same holds for the edp vdd work in intel_dp.c. Add a corresponding
  WARN_ON and a comment next to the intel_dp struct fields for
  documentation.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_fb.c
drivers/gpu/drm/i915/intel_lvds.c
drivers/gpu/drm/i915/intel_overlay.c
drivers/gpu/drm/i915/intel_sprite.c