]> 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)
commit06dc9bfaad3e21e54aa595c0b50ab1d4998646c7
tree5d9292b52fc2ed77ef6f6dd91b8b40c5ab0bf96a
parent74301eb160f369d0948e21041812f1ebb5ae4031
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 95ee241e2fb8 ("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: 95ee241e2fb8 ("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