summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2020-06-22 09:51:26 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2020-06-22 09:51:26 +0000
commitca27008155303bc25474077107acc96137490480 (patch)
treef59bef0fe08144a0c6bae1ffc5fce66e4d65bfd4 /sys
parentf7f27662e49a74ba9daef248219a71d61fbb1cde (diff)
drm/amd/display: fix virtual signal dsc setup
From Dmytro Laktyushkin b5d74af308d373668ec2d8f0f0a490207fcc5eda in linux 5.7.y/5.7.5 d5bef51f084fccafa984b114ff74a01a64a0e2e3 in mainline linux
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/drm/amd/display/dc/core/dc_link_hwss.c2
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);