]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: hdmi: Implement ->atomic_check()
authorThierry Reding <treding@nvidia.com>
Mon, 8 Dec 2014 15:33:03 +0000 (16:33 +0100)
committerThierry Reding <treding@nvidia.com>
Tue, 27 Jan 2015 09:14:53 +0000 (10:14 +0100)
commit201a14c6646cd475d6209b0b35ace40cea764f93
tree05cb3726b372389b77b0164eb654abc12c90a376
parent83161e0dee19e9b241acf47e5297619b974f813e
drm/tegra: hdmi: 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/hdmi.c