drm/tegra: Convert output midlayer to helpers
authorThierry Reding <treding@nvidia.com>
Fri, 28 Nov 2014 14:38:40 +0000 (15:38 +0100)
committerThierry Reding <treding@nvidia.com>
Tue, 27 Jan 2015 09:14:45 +0000 (10:14 +0100)
commit132085d84fca65c46b56dc0f8233910906a15e8d
treeacd1a2bb4864be1d52c9ae930c2c7304f95c8b08
parent50a246aa13b80c8310dc5a82be639a60868f667e
drm/tegra: Convert output midlayer to helpers

The output layer was initially designed to help reduce the amount of
code duplicated in output drivers. An unfortunate side-effect of that
was that it turned into a midlayer and it became difficult to make the
output drivers work without bending over backwards to fit into the
midlayer.

This commit starts to convert the midlayer into a helper library by
exporting most of the common functions so that they can be used by the
output drivers directly. Doing so will allow output drivers to reuse
common code paths but more easily override them where necessary.

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