git: 14d1ad2a37af - stable/15 - linuxkpi: Add pm_runtime_resume_and_get
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 20 Jul 2026 20:58:06 UTC
The branch stable/15 has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=14d1ad2a37afac412338eefa8b07722d3415c369
commit 14d1ad2a37afac412338eefa8b07722d3415c369
Author: Sourojeet A <siri@racha.ca>
AuthorDate: 2026-07-08 12:57:34 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2026-07-20 20:57:42 +0000
linuxkpi: Add pm_runtime_resume_and_get
pm_runtime_resume_and_get is used by new versions of amdgpu, and began
use between Linux kernel version 6.12, and 6.14.
Reviewed by: dumbbell
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57463
(cherry picked from commit 7e1245aafeece1a56af292c2652c6b835ccb6f10)
---
sys/compat/linuxkpi/common/include/linux/pm_runtime.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/sys/compat/linuxkpi/common/include/linux/pm_runtime.h b/sys/compat/linuxkpi/common/include/linux/pm_runtime.h
index 6114b7b159d7..8c7d9f3a8e1c 100644
--- a/sys/compat/linuxkpi/common/include/linux/pm_runtime.h
+++ b/sys/compat/linuxkpi/common/include/linux/pm_runtime.h
@@ -51,4 +51,10 @@ pm_runtime_suspended(struct device *dev)
return 0;
}
+static inline int
+pm_runtime_resume_and_get(struct device *dev)
+{
+ return 0;
+}
+
#endif /* _LINUXKPI_LINUX_PM_RUNTIME_H_ */