drm/core: Set legacy_cursor_update in drm_atomic_helper_disable_plane.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 11 Nov 2015 10:29:07 +0000 (11:29 +0100)
committerJani Nikula <jani.nikula@intel.com>
Tue, 17 Nov 2015 11:01:50 +0000 (13:01 +0200)
commit24e79d0ddc416184594aa8193023c15d85ab15db
tree483683c109b46ea7a001deb41a152b3aa8c0af79
parent8005c49d9aea74d382f474ce11afbbc7d7130bec
drm/core: Set legacy_cursor_update in drm_atomic_helper_disable_plane.

legacy_cursor_update was being set in restore_fbdev_mode_atomic which was
probably unintended. Fix this by only setting it in the function that needs it.

This oversight was introduced in

commit bbb1e52402b2a288b09ae37e8182599931c7e9df
Author: Rob Clark <robdclark@gmail.com>
Date:   Tue Aug 25 15:35:58 2015 -0400

    drm/fb-helper: atomic restore_fbdev_mode()...

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