drm/i915: Avoid circular locking from intel_fbdev_fini()
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 4 Oct 2010 14:33:04 +0000 (15:33 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 4 Oct 2010 15:11:54 +0000 (16:11 +0100)
lockdep spots that the fb_info->lock takes the dev->struct_mutex during
init (due to the device probing) and so we can not hold
dev->struct_mutex when unregistering the framebuffer. Simply reverse the
order of initialisation during cleanup and so do the intel_fbdev_fini()
before the intel_modeset_cleanup.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

No differences found