diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-07-04 17:18:29 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-07-06 10:02:12 +0200 |
commit | 6b7dc6e9f82615836b389cb5f806914048b132cd (patch) | |
tree | e71475b174e7805473ef2bdde6e28f5837a4c41b /arch/c6x | |
parent | drm/fb-helper: Stop using mode_config.mutex for internals (diff) | |
download | linux-6b7dc6e9f82615836b389cb5f806914048b132cd.tar.xz linux-6b7dc6e9f82615836b389cb5f806914048b132cd.zip |
drm/fb-helper: Split dpms handling into legacy and atomic paths
Like with panning and modesetting, and like with those, stick with
simple drm_modeset_locking_all for the legacy path, and the full
atomic dance for atomic drivers.
This means a bit more boilerplate since setting up the atomic state
machinery is rather verbose, but then this is shared code for 30+
drivers or so, so meh.
After this patch there's only the LUT/cmap path which is still using
drm_modeset_lock_all for an atomic driver. But Peter is already
locking into reworking that, so I'll leave that code as-is for now.
v2: Squash in patches from Maarten to unify all the various atomic
paths into just one atomic update function for fbdev overall. On top
do one s/restore_fbdev_mode/restore_fbdev_mode_atomic/ so that we have
all-atomic callchains after the first check.
Cc: Peter Rosin <peda@axentia.se>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Thierry Reding <treding@nvidia.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170704151833.17304-10-daniel.vetter@ffwll.ch
Diffstat (limited to 'arch/c6x')
0 files changed, 0 insertions, 0 deletions