drm/gma500: use drm_modeset_lock_all
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 2 Dec 2012 00:33:17 +0000 (01:33 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 20 Jan 2013 21:16:49 +0000 (22:16 +0100)
commit0a819515fc346b4e79d6e3fc01d837a660452c74
tree43f93105bdeef220bca0e101b16d500ffa2d5479
parenta0e99e68c12ac6dc5d6b1da7942b5e05d5f848af
drm/gma500: use drm_modeset_lock_all

Only two places:
- suspend/resume
- Some really strange mode validation tool with too much funny-lucking
  hand-rolled conversion code.
- The recently-added lastclose fbdev restore code.

Better safe than sorry, so convert both places to keep the locking
semantics as much as possible.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/gma500/psb_device.c
drivers/gpu/drm/gma500/psb_drv.c