]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: dc: Restore coupling of display controllers
authorThierry Reding <treding@nvidia.com>
Fri, 19 Mar 2021 07:06:37 +0000 (08:06 +0100)
committerThierry Reding <treding@nvidia.com>
Tue, 30 Mar 2021 17:40:43 +0000 (19:40 +0200)
commit6472daa777b04c43919bed749e1c1d919664fb4f
tree5d9292b52fc2ed77ef6f6dd91b8b40c5ab0bf96a
parent27e69ee94f22b551696aae4821fab06ca0e0ba87
drm/tegra: dc: Restore coupling of display controllers

Coupling of display controllers used to rely on runtime PM to take the
companion controller out of reset. Commit 4786af086613 ("drm/tegra: Do
not implement runtime PM") accidentally broke this when runtime PM was
removed.

Restore this functionality by reusing the hierarchical host1x client
suspend/resume infrastructure that's similar to runtime PM and which
perfectly fits this use-case.

Fixes: 4786af086613 ("drm/tegra: Do not implement runtime PM")
Reported-by: Dmitry Osipenko <digetx@gmail.com>
Reported-by: Paul Fertser <fercerpav@gmail.com>
Tested-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dc.c