]> git.baikalelectronics.ru Git - kernel.git/commit
drm/atomic: implement drm_atomic_helper_commit_tail for runtime_pm users
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 20 Jul 2017 13:01:16 +0000 (15:01 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 26 Jul 2017 11:45:08 +0000 (13:45 +0200)
commit4a00aee1bd45e70b09730a54e0b4b1dc77413b42
tree4c4727bb80edade9076eabc9f49ad6753eac7045
parent00940024b0af3dcc5110ad4a7529e1552ac1e481
drm/atomic: implement drm_atomic_helper_commit_tail for runtime_pm users

The current drm_atomic_helper_commit_tail helper works only if the CRTC is
accessible, and documents an alternative implementation that is supposed to
be used if that happens.

That implementation is then duplicated by some drivers. Instead of
documenting it, let's implement an helper that all the relevant users can
use directly.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/a8f92dc70048bab746e94dadd1c23200626aff60.1500555652.git-series.maxime.ripard@free-electrons.com
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_atomic_helper.c
drivers/gpu/drm/exynos/exynos_drm_fb.c
drivers/gpu/drm/rockchip/rockchip_drm_fb.c
include/drm/drm_atomic_helper.h