artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c1206e
)
drm/amd/display: Don't use fsleep for PSR exit waits on dmub replay
author
jsg
<jsg@openbsd.org>
Mon, 9 Sep 2024 09:51:03 +0000
(09:51 +0000)
committer
jsg
<jsg@openbsd.org>
Mon, 9 Sep 2024 09:51:03 +0000
(09:51 +0000)
From Nicholas Kazlauskas
da696cbb47941c40b01cc10ea5504dc5a4ebac6e
in linux-6.6.y/6.6.50
b5236da757adc75d7e52c69bdc233d29249a0d0c
in mainline linux
sys/dev/pci/drm/amd/display/dc/dce/dmub_replay.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/display/dc/dce/dmub_replay.c
b/sys/dev/pci/drm/amd/display/dc/dce/dmub_replay.c
index
28149e5
..
eeb5b82
100644
(file)
--- a/
sys/dev/pci/drm/amd/display/dc/dce/dmub_replay.c
+++ b/
sys/dev/pci/drm/amd/display/dc/dce/dmub_replay.c
@@
-102,7
+102,8
@@
static void dmub_replay_enable(struct dmub_replay *dmub, bool enable, bool wait,
break;
}
- fsleep(500);
+ /* must *not* be fsleep - this can be called from high irq levels */
+ udelay(500);
}
/* assert if max retry hit */