]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: vic: Stop channel on suspend
authorDmitry Osipenko <digetx@gmail.com>
Tue, 30 Nov 2021 23:23:22 +0000 (02:23 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 16 Dec 2021 13:07:08 +0000 (14:07 +0100)
commit6622be78b81d743c592ae5c31589399b4b64b87f
treeb37440ff04f57ffd790cb98b2667eaa99dd6dba2
parentfa70394d8828ce5368dd6fce718b8e0ae6eedae0
drm/tegra: vic: Stop channel on suspend

CDMA must be stopped before hardware is suspended. Add channel stopping
to RPM suspend callback. Add system level suspend-resume callbacks.

Runtime PM initialization is moved to host1x client init phase because
RPM callback now uses host1x channel that is available only when host1x
client is registered.

Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/vic.c