drm/tegra: dc: Link DC1 to DC0 on Tegra20
authorDmitry Osipenko <digetx@gmail.com>
Wed, 20 Dec 2017 15:46:10 +0000 (18:46 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 21 Dec 2017 13:52:38 +0000 (14:52 +0100)
commitf68ba6912bd24088f067da2470880892abc2ac58
tree0178a29a889f4d36bdd20f368e81a635b7355b9d
parent39f55c61da49ba41bba4185043cba6f39229467f
drm/tegra: dc: Link DC1 to DC0 on Tegra20

Hardware reset isn't actually broken on Tegra20, but there is a
dependency on the first display controller to be taken out of reset for
the second to be enabled successfully. Model this dependency using a PM
device link.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
[treding@nvidia.com: minor cleanups, extend commit message]
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dc.c
drivers/gpu/drm/tegra/dc.h