drm/tegra: output: Implement system suspend/resume
authorThierry Reding <treding@nvidia.com>
Tue, 3 Dec 2019 16:29:57 +0000 (17:29 +0100)
committerThierry Reding <treding@nvidia.com>
Fri, 10 Jan 2020 15:46:29 +0000 (16:46 +0100)
commit271502efbd3a9812f3d02230ff823b73141c6b39
tree810b78bb104c04600144e943402e474b0e4a3765
parentf90965abc51d9a72cd6fa414e9480edff9ddaced
drm/tegra: output: Implement system suspend/resume

Implement generic system suspend/resume functions that can be used with
any output type. Currently this only implements disabling and enabling
of the IRQ functionality across system suspend/resume. This prevents an
interrupt from happening before the display driver has fully resumed.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/output.c
drivers/gpu/drm/tegra/sor.c