]> git.itanic.dy.fi Git - linux-stable/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Apr 2021 13:02:32 +0000 (15:02 +0200)
commit68542bdb14fd6b5795548e3cdd69620aa3fa65ff
tree4e0de10eb4a621fdb51b37f7c9b9d2fc3994146e
parent3f86a8e0a0247a4de7f574b37467aaa74afe68a7
drm/tegra: dc: Restore coupling of display controllers

commit a31500fe7055451ed9043c8fff938dfa6f70ee37 upstream.

Coupling of display controllers used to rely on runtime PM to take the
companion controller out of reset. Commit fd67e9c6ed5a ("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: fd67e9c6ed5a ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/tegra/dc.c