drm/core: Fix old_fb handling in pan_display_atomic.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 11 Nov 2015 10:29:11 +0000 (11:29 +0100)
committerJani Nikula <jani.nikula@intel.com>
Tue, 17 Nov 2015 11:02:14 +0000 (13:02 +0200)
commit07d3bad6c1210bd21e85d084807ef4ee4ac43a78
tree3c31224db1b0691499e693b719aef6f325a76994
parentf72c6b33edda439acff81a0da612f2bcd1f46f35
drm/core: Fix old_fb handling in pan_display_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-6-git-send-email-maarten.lankhorst@ubuntu.com
drivers/gpu/drm/drm_fb_helper.c