]> git.baikalelectronics.ru Git - kernel.git/commit
drm/atomic: Add ->atomic_check() to encoder helpers
authorThierry Reding <treding@nvidia.com>
Wed, 3 Dec 2014 15:44:34 +0000 (16:44 +0100)
committerThierry Reding <treding@nvidia.com>
Tue, 27 Jan 2015 09:14:42 +0000 (10:14 +0100)
commit3fd24a8ab25925f1ac4f68b0d52afc4c580a2ec9
treef263b87b5c568f72d9c4b3c9945623b52b558553
parent225810dfe8543b1ac2350521c1b01cf894d11d20
drm/atomic: Add ->atomic_check() to encoder helpers

This callback can be used instead of the legacy ->mode_fixup() and is
passed the CRTC and connector states. It can thus use these states to
validate the modeset and cache values in the state to be used during
the actual modeset.

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/drm_atomic_helper.c
include/drm/drm_crtc_helper.h