artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d821b1c
)
drm/amd/display: Defer DIG FIFO disable after VID stream enable
author
jsg
<jsg@openbsd.org>
Mon, 27 Mar 2023 03:44:58 +0000
(
03:44
+0000)
committer
jsg
<jsg@openbsd.org>
Mon, 27 Mar 2023 03:44:58 +0000
(
03:44
+0000)
From Nicholas Kazlauskas
efb332a2037bdb3f49c42c0b895241383024c06b
in linux-6.1.y/6.1.16
2d90a1c054831338d57b39aec4d273cf3e867590
in mainline linux
sys/dev/pci/drm/amd/display/dc/dcn314/dcn314_dio_stream_encoder.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/display/dc/dcn314/dcn314_dio_stream_encoder.c
b/sys/dev/pci/drm/amd/display/dc/dcn314/dcn314_dio_stream_encoder.c
index
38842f9
..
0926db0
100644
(file)
--- a/
sys/dev/pci/drm/amd/display/dc/dcn314/dcn314_dio_stream_encoder.c
+++ b/
sys/dev/pci/drm/amd/display/dc/dcn314/dcn314_dio_stream_encoder.c
@@
-278,10
+278,10
@@
static void enc314_stream_encoder_dp_blank(
struct dc_link *link,
struct stream_encoder *enc)
{
- /* New to DCN314 - disable the FIFO before VID stream disable. */
- enc314_disable_fifo(enc);
-
enc1_stream_encoder_dp_blank(link, enc);
+
+ /* Disable FIFO after the DP vid stream is disabled to avoid corruption. */
+ enc314_disable_fifo(enc);
}
static void enc314_stream_encoder_dp_unblank(