projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a180f4e
)
drm/xe: Fix build without CONFIG_PM_SLEEP
author
Francois Dugast
<francois.dugast@intel.com>
Tue, 25 Apr 2023 08:51:16 +0000
(10:51 +0200)
committer
Rodrigo Vivi
<rodrigo.vivi@intel.com>
Tue, 19 Dec 2023 23:31:42 +0000
(18:31 -0500)
Build without CONFIG_PM_SLEEP (such as for riscv) was failing due
to unused xe_pci_runtime_* functions.
Signed-off-by: Francois Dugast <francois.dugast@intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_pci.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/xe/xe_pci.c
b/drivers/gpu/drm/xe/xe_pci.c
index
df7590b
..
5f750ed
100644
(file)
--- a/
drivers/gpu/drm/xe/xe_pci.c
+++ b/
drivers/gpu/drm/xe/xe_pci.c
@@
-702,7
+702,6
@@
static int xe_pci_resume(struct device *dev)
return 0;
}
-#endif
static int xe_pci_runtime_suspend(struct device *dev)
{
@@
-765,6
+764,7
@@
static int xe_pci_runtime_idle(struct device *dev)
return 0;
}
+#endif
static const struct dev_pm_ops xe_pm_ops = {
SET_SYSTEM_SLEEP_PM_OPS(xe_pci_suspend, xe_pci_resume)