diff options
author | Mikko Perttunen <mperttunen@nvidia.com> | 2023-09-01 14:15:09 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2023-10-11 23:52:44 +0300 |
commit | b7c00cdf6df58b1d48d31d57f9431a200b0d0c88 (patch) | |
tree | cab896bb29d6d7049cba8a2b2dbba5f40effd17d /drivers/gpu/host1x | |
parent | 87fafcd53df8ca5b6695a71aa17f2e7aff464ecc (diff) | |
download | linux-b7c00cdf6df58b1d48d31d57f9431a200b0d0c88.tar.xz |
gpu: host1x: Enable system suspend callbacks
With the previous CDMA stop fix, executing runtime PM ops around
system suspend now makes channel submissions work after system
suspend, so do that.
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230901111510.663401-3-cyndis@kapsi.fi
Diffstat (limited to 'drivers/gpu/host1x')
-rw-r--r-- | drivers/gpu/host1x/dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/host1x/dev.c b/drivers/gpu/host1x/dev.c index 6501bee9e8c1..b8ac44e7d11a 100644 --- a/drivers/gpu/host1x/dev.c +++ b/drivers/gpu/host1x/dev.c @@ -720,7 +720,7 @@ release_reset: static const struct dev_pm_ops host1x_pm_ops = { SET_RUNTIME_PM_OPS(host1x_runtime_suspend, host1x_runtime_resume, NULL) - /* TODO: add system suspend-resume once driver will be ready for that */ + SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend, pm_runtime_force_resume) }; static struct platform_driver tegra_host1x_driver = { |