Skip to content
Commit 7b4f3990 authored by Chris Wilson's avatar Chris Wilson
Browse files

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: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent 2c6be944
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment