summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_dp.c
diff options
context:
space:
mode:
authorNathan Schulte <nmschulte@gmail.com>2016-03-15 10:14:05 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-03-16 16:40:50 +0100
commit7cc96139d9e3f627bd18e5ee6a5e4e305369865b (patch)
tree4444d6193998d3f6bef72ba0a59b9b96c601279e /drivers/gpu/drm/i915/intel_dp.c
parent117897f42c87c11a3a8315507d38cbd99ea46fda (diff)
downloadlwn-7cc96139d9e3f627bd18e5ee6a5e4e305369865b.tar.gz
lwn-7cc96139d9e3f627bd18e5ee6a5e4e305369865b.zip
drm/i915: add module param "enable_dp_mst"
Adds an (unsafe; auto-kernel-tainting) boolean module parameter to the i915 drm driver: "enable_dp_mst", which is enabled by default. Disabling the parameter forces newly connected DisplayPort sinks to report as not supporting multi-stream transport (MST), thus "forcing" the use of single-stream transport (SST). v2: rename parameter to conform to style v3: add signoff Signed-off-by: Nathan Schulte <nmschulte@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1458054845-5837-1-git-send-email-nmschulte@gmail.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp.c')
-rw-r--r--drivers/gpu/drm/i915/intel_dp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index 0e326e776e8f..ba2d0242d532 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -3882,6 +3882,9 @@ intel_dp_probe_mst(struct intel_dp *intel_dp)
{
u8 buf[1];
+ if (!i915.enable_dp_mst)
+ return false;
+
if (!intel_dp->can_mst)
return false;