drm/tegra: dc - Compute shift clock divider in output drivers
authorThierry Reding <treding@nvidia.com>
Wed, 26 Mar 2014 12:32:21 +0000 (13:32 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 5 Jun 2014 21:09:33 +0000 (23:09 +0200)
commit91eded9b481e61913d98142927b559af33a180a7
treebcab00eb979434cc358abe43a4f4cf2633d43f06
parentdbb3f2f751069bc757fbdbe8911a7e784e850b24
drm/tegra: dc - Compute shift clock divider in output drivers

The shift clock divider is highly dependent on the type of output, so
push computation of it down into the output drivers. The old code used
to work merely by accident.

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