summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dce120
diff options
context:
space:
mode:
authorHarry Wentland2017-12-19 22:17:22 +0100
committerAlex Deucher2018-02-19 20:17:26 +0100
commit7e98ab103521f82957f3c2d82d555a6803360440 (patch)
tree3fa4a12eb88edf0a9fc5ed1c0a878baed9de0582 /drivers/gpu/drm/amd/display/dc/dce120
parentdrm/amd/display: Debug print when validate_stream fails (diff)
downloadkernel-qcow2-linux-7e98ab103521f82957f3c2d82d555a6803360440.tar.gz
kernel-qcow2-linux-7e98ab103521f82957f3c2d82d555a6803360440.tar.xz
kernel-qcow2-linux-7e98ab103521f82957f3c2d82d555a6803360440.zip
drm/amd/display: Don't allow dual-link DVI on all ASICs.
Our APUs (Carrizo, Stoney, Raven) don't support it. v2: Don't use is_apu as other ASICs might also not support it Signed-off-by: Harry Wentland <harry.wentland@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce120')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c b/drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c
index 57cd67359567..5aab01db28ee 100644
--- a/drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c
@@ -835,6 +835,8 @@ static bool construct(
dc->caps.max_downscale_ratio = 200;
dc->caps.i2c_speed_in_khz = 100;
dc->caps.max_cursor_size = 128;
+ dc->caps.dual_link_dvi = true;
+
dc->debug = debug_defaults;
/*************************************************