]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: output: Make ->setup_clock() optional
authorThierry Reding <treding@nvidia.com>
Tue, 2 Dec 2014 14:12:28 +0000 (15:12 +0100)
committerThierry Reding <treding@nvidia.com>
Tue, 27 Jan 2015 09:14:46 +0000 (10:14 +0100)
commit5e264deca8329352931c1a33b87a73f96d4f18f0
tree4e978d540c6b4af8501f9f03f79c1c0909aaa271
parent7357cd36dc864d91050447ce4a7f9765d4c24cc2
drm/tegra: output: Make ->setup_clock() optional

In order to transition output drivers to using the struct tegra_output
as a helper rather than midlayer, make this callback optional. Instead
drivers should implement the equivalent as part of ->mode_fixup(). For
the conversion to atomic modesetting a new callback ->atomic_check()
should be implemented that updates the display controller's state with
the corresponding parent clock, rate and shift clock divider.

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