]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5df304b45731008b30451a60eeca46b83484f212
treeacd1a2bb4864be1d52c9ae930c2c7304f95c8b08
parent46e3e749b5d80f796ddaca5089d744991c3904f2
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