drm/core: Fix old_fb handling in restore_fbdev_mode_atomic.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 11 Nov 2015 10:29:10 +0000 (11:29 +0100)
committerJani Nikula <jani.nikula@intel.com>
Tue, 17 Nov 2015 11:02:14 +0000 (13:02 +0200)
commitf72c6b33edda439acff81a0da612f2bcd1f46f35
tree008194388572c3ff7b594f06214a23b0406efc04
parent0f45c26fc302c02b0576db37d4849baa53a2bb41
drm/core: Fix old_fb handling in restore_fbdev_mode_atomic.

Don't touch plane->old_fb/fb without having the right locks held.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1447237751-9663-5-git-send-email-maarten.lankhorst@ubuntu.com
drivers/gpu/drm/drm_fb_helper.c