Patch "drm/i915: Fix eDP low vswing for Broadwell" has been added to the 4.5-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
drm/i915: Fix eDP low vswing for Broadwell
to the 4.5-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
drm-i915-fix-edp-low-vswing-for-broadwell.patch
and it can be found in the queue-4.5 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
992e7a41f9fcc7bcd10e7d346aee5ed7a2c241cbMon Sep 17 00:00:00 2001
From: Mika Kahola <[email protected]>
Date: Wed, 20 Apr 2016 15:39:02 +0300
Subject: drm/i915: Fix eDP low vswing for Broadwell
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From: Mika Kahola <[email protected]>
commit 992e7a41f9fcc7bcd10e7d346aee5ed7a2c241cb upstream.
It was noticed on bug #94087 that module parameter i915.edp_vswing=2 that should override the VBT setting to use default voltage swing (400 mV) was not applied for Broadwell.
This patch provides a fix for this by checking if default i.e. higher voltage swing is requested to be used and applies the DDI translations table for DP instead of eDP (low vswing) table.
v2: Combine two if statements into one (Jani)
v3: Change dev_priv->edp_low_vswing to use dev_priv->vbt.edp.low_vswing
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94087
--- drivers/gpu/drm/i915/intel_ddi.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/intel_ddi.c +10 -2
@@ -464,9 +464,17 @@ static void intel_prepare_ddi_buffers(st }else if (IS_BROADWELL (dev)) { ddi_translations_fdi = bdw_ddi_translations_fdi; ddi_translations_dp = bdw_ddi_translations_dp; - ddi_translations_edp = bdw_ddi_translations_edp; + +if (dev_priv->edp_low_vswing) { + ddi_translations_edp = bdw_ddi_translations_edp; + n_edp_entries =ARRAY_SIZE (bdw_ddi_translations_edp); + }else { + ddi_translations_edp = bdw_ddi_translations_dp; + n_edp_entries =ARRAY_SIZE (bdw_ddi_translations_dp); + } + ddi_translations_hdmi = bdw_ddi_translations_hdmi; - n_edp_entries =ARRAY_SIZE (bdw_ddi_translations_edp); + n_dp_entries =ARRAY_SIZE (bdw_ddi_translations_dp); n_hdmi_entries =ARRAY_SIZE (bdw_ddi_translations_hdmi); hdmi_default_entry =7 ;
Patches currently in stable-queue which might be from [email protected] are
queue-4.5/drm-i915-fix-edp-low-vswing-for-broadwell.patch