]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: sor: Implement ->atomic_check()
authorThierry Reding <treding@nvidia.com>
Mon, 8 Dec 2014 16:26:46 +0000 (17:26 +0100)
committerThierry Reding <treding@nvidia.com>
Tue, 27 Jan 2015 09:14:54 +0000 (10:14 +0100)
commit0f6bb97d88ce9c92422f2f38260af6e9252e2334
tree64a9585ca3c1a7c7f6e74c6bee5afcbf615184b0
parentc1a416248f31cb3b89439db1ffb34942d98b1993
drm/tegra: sor: Implement ->atomic_check()

The implementation of the ->atomic_check() callback precomputes all
parameters to check if the given configuration can be applied. If so the
precomputed values are stored in the atomic state object for the encoder
and applied during modeset. In that way the modeset no longer needs to
perform any checking but simply program values into registers.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/sor.c