OSDN Git Service

drm/tegra: dc: Simplify atomic plane helper functions
authorThierry Reding <treding@nvidia.com>
Wed, 30 Aug 2017 15:34:10 +0000 (17:34 +0200)
committerThierry Reding <treding@nvidia.com>
Fri, 20 Oct 2017 12:19:54 +0000 (14:19 +0200)
commita4bfa0961c4bccbfd5f23d1283fa3d40e6af1b59
tree33e5e5b322034fa0fa9de9fa0d16fc0e3fa9e520
parent2d1c18fb0d1c566491dfaba09ed24881b1d82152
drm/tegra: dc: Simplify atomic plane helper functions

Remove the tegra_dc_disable_window() function whose only purpose was to
allow tegra_plane_atomic_update() to also call it. Fix that by shuffling
tegra_plano_atomic_disable() to before tegra_plane_atomic_update().

While at it, also remove the overlay plane helper functions because they
are exactly the same as the primary plane helper functions.

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