artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d1a5d2
)
drm/amd: avoid suspend on dGPUs w/ s2idle support when runtime PM enabled
author
jsg
<jsg@openbsd.org>
Wed, 9 Feb 2022 04:31:46 +0000
(
04:31
+0000)
committer
jsg
<jsg@openbsd.org>
Wed, 9 Feb 2022 04:31:46 +0000
(
04:31
+0000)
From Mario Limonciello
8a15ac1786c92dce6ecbeb4e4c237f5f80c2c703
in linux 5.15.y/5.15.22
e55a3aea418269266d84f426b3bd70794d3389c8
in mainline linux
sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c
b/sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c
index
d157087
..
8511b65
100644
(file)
--- a/
sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c
+++ b/
sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c
@@
-1508,8
+1508,7
@@
static int amdgpu_pmops_prepare(struct device *dev)
* DPM_FLAG_SMART_SUSPEND works properly
*/
if (amdgpu_device_supports_boco(drm_dev))
- return pm_runtime_suspended(dev) &&
- pm_suspend_via_firmware();
+ return pm_runtime_suspended(dev);
return 0;
}