]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: rgb: Implement ->atomic_check()
authorThierry Reding <treding@nvidia.com>
Wed, 17 Dec 2014 16:04:36 +0000 (17:04 +0100)
committerThierry Reding <treding@nvidia.com>
Tue, 27 Jan 2015 09:14:53 +0000 (10:14 +0100)
commit4f8f48ca5e5519d0d980377b3a95b0627bcb7dc8
tree3943710d02b6366dcd66535dcbee33becd534168
parent5a15fbf61030384cf902320fcd1aac22fad6b011
drm/tegra: rgb: 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/rgb.c