artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f6060e
)
drm/amd/display: Reset OUTBOX0 r/w pointer on DMUB reset
author
jsg
<jsg@openbsd.org>
Tue, 13 Jun 2023 02:46:50 +0000
(
02:46
+0000)
committer
jsg
<jsg@openbsd.org>
Tue, 13 Jun 2023 02:46:50 +0000
(
02:46
+0000)
From Cruise Hung
ccb0ad946adc43d9b146323228a365aa7400fd42
in linux-6.1.y/6.1.29
425afa0ac99a05b39e6cd00704fa0e3e925cee2b
in mainline linux
sys/dev/pci/drm/amd/display/dmub/src/dmub_dcn32.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/display/dmub/src/dmub_dcn32.c
b/sys/dev/pci/drm/amd/display/dmub/src/dmub_dcn32.c
index
a76da01
..
b0adbf7
100644
(file)
--- a/
sys/dev/pci/drm/amd/display/dmub/src/dmub_dcn32.c
+++ b/
sys/dev/pci/drm/amd/display/dmub/src/dmub_dcn32.c
@@
-130,6
+130,8
@@
void dmub_dcn32_reset(struct dmub_srv *dmub)
REG_WRITE(DMCUB_INBOX1_WPTR, 0);
REG_WRITE(DMCUB_OUTBOX1_RPTR, 0);
REG_WRITE(DMCUB_OUTBOX1_WPTR, 0);
+ REG_WRITE(DMCUB_OUTBOX0_RPTR, 0);
+ REG_WRITE(DMCUB_OUTBOX0_WPTR, 0);
REG_WRITE(DMCUB_SCRATCH0, 0);
}