]> git.karo-electronics.de Git - linux-beck.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)
commit4cd4df8080a3e0d9b5a75dd52fa2133738def213
treef263b87b5c568f72d9c4b3c9945623b52b558553
parent407b8bd9f5d284ffa13a9f9a709e6289bb4ae47e
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