diff options
author | jsg <jsg@openbsd.org> | 2020-06-22 09:51:25 +0000 |
---|---|---|
committer | jsg <jsg@openbsd.org> | 2020-06-22 09:51:25 +0000 |
commit | 86d9d45324cfd7bd7f0fbaebe1421842bac5c78d (patch) | |
tree | 93f06802794395d34e2581cc7a54b7565f5a2b74 | |
parent | drm/amd/display: Force watermark value propagation (diff) | |
download | wireguard-openbsd-86d9d45324cfd7bd7f0fbaebe1421842bac5c78d.tar.xz wireguard-openbsd-86d9d45324cfd7bd7f0fbaebe1421842bac5c78d.zip |
drm/amd/display: fix virtual signal dsc setup
From Dmytro Laktyushkin
b5d74af308d373668ec2d8f0f0a490207fcc5eda in linux 5.7.y/5.7.5
d5bef51f084fccafa984b114ff74a01a64a0e2e3 in mainline linux
-rw-r--r-- | sys/dev/pci/drm/amd/display/dc/core/dc_link_hwss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/amd/display/dc/core/dc_link_hwss.c b/sys/dev/pci/drm/amd/display/dc/core/dc_link_hwss.c index 3607bad850e..6e38f2b6bf4 100644 --- a/sys/dev/pci/drm/amd/display/dc/core/dc_link_hwss.c +++ b/sys/dev/pci/drm/amd/display/dc/core/dc_link_hwss.c @@ -400,7 +400,7 @@ static bool dp_set_dsc_on_rx(struct pipe_ctx *pipe_ctx, bool enable) struct dc_stream_state *stream = pipe_ctx->stream; bool result = false; - if (IS_FPGA_MAXIMUS_DC(dc->ctx->dce_environment)) + if (dc_is_virtual_signal(stream->signal) || IS_FPGA_MAXIMUS_DC(dc->ctx->dce_environment)) result = true; else result = dm_helpers_dp_write_dsc_enable(dc->ctx, stream, enable); |