Skip to content

Commit b7c00cd

Browse files
cyndisthierryreding
authored andcommitted
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
1 parent 87fafcd commit b7c00cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/host1x/dev.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ static int __maybe_unused host1x_runtime_resume(struct device *dev)
720720
static const struct dev_pm_ops host1x_pm_ops = {
721721
SET_RUNTIME_PM_OPS(host1x_runtime_suspend, host1x_runtime_resume,
722722
NULL)
723-
/* TODO: add system suspend-resume once driver will be ready for that */
723+
SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend, pm_runtime_force_resume)
724724
};
725725

726726
static struct platform_driver tegra_host1x_driver = {

0 commit comments

Comments
 (0)