From: Chris Wilson Date: Mon, 4 Oct 2010 14:33:04 +0000 (+0100) Subject: drm/i915: Avoid circular locking from intel_fbdev_fini() X-Git-Tag: v2.6.37-rc1~92^2~28^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b4f3990a22fbe800945f12001bc30db374d0af5;p=pandora-kernel.git drm/i915: Avoid circular locking from intel_fbdev_fini() 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 --- Reading git-diff-tree failed