]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 8 Apr 2021 20:42:51 +0000 (15:42 -0500)
commitf1933c95e23276eb24407b6dae4d04efbe703bd1
treedc9ce64eb9f802cd3aed5c9dbd1132bde80444e6
parent5016ff7f66c3e52507a8c3bd7d3d3aa60aac1973
drm/tegra: dc: Restore coupling of display controllers

BugLink: https://bugs.launchpad.net/bugs/1923069
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>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
drivers/gpu/drm/tegra/dc.c