<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO --- - [hsw bisected] flickering blurry screen, prefer fast over wide dp link param"
href="https://bugs.freedesktop.org/show_bug.cgi?id=81647#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO --- - [hsw bisected] flickering blurry screen, prefer fast over wide dp link param"
href="https://bugs.freedesktop.org/show_bug.cgi?id=81647">bug 81647</a>
from <span class="vcard"><a class="email" href="mailto:libm3l@gmail.com" title="Adam Jirasek <libm3l@gmail.com>"> <span class="fn">Adam Jirasek</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=81647#c5">comment #5</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=81647#c4">comment #4</a>)
> > (In reply to <a href="show_bug.cgi?id=81647#c3">comment #3</a>)
> > > Note this is a case where the earlier regression triumphs, and so this bug
> > > must persist until the root cause is known (i.e. we can fix this without
> > > breaking working machines).
> >
> > Is there anything I can do to help?
>
> I presume this is the laptop panel. Please try this patch:
>
> diff --git a/drivers/gpu/drm/i915/intel_dp.c
> b/drivers/gpu/drm/i915/intel_dp.c
> index d7fc2c0e9ba8..f4248d7f64f9 100644
> --- a/drivers/gpu/drm/i915/intel_dp.c
> +++ b/drivers/gpu/drm/i915/intel_dp.c
> @@ -889,23 +889,13 @@ intel_dp_compute_config(struct intel_encoder *encoder,
> bpp = dev_priv->vbt.edp_bpp;
> }
>
> - if (IS_BROADWELL(dev)) {
> - /* Yes, it's an ugly hack. */
> - min_lane_count = max_lane_count;
> - DRM_DEBUG_KMS("forcing lane count to max (%u) on BDW\n",
> - min_lane_count);
> - } else if (dev_priv->vbt.edp_lanes) {
> - min_lane_count = min(dev_priv->vbt.edp_lanes,
> - max_lane_count);
> - DRM_DEBUG_KMS("using min %u lanes per VBT\n",
> - min_lane_count);
> - }
> -
> - if (dev_priv->vbt.edp_rate) {
> - min_clock = min(dev_priv->vbt.edp_rate >> 3, max_clock);
> - DRM_DEBUG_KMS("using min %02x link bw per VBT\n",
> - bws[min_clock]);
> - }
> + /*
> + * Use the maximum clock and number of lanes the eDP panel
> + * advertizes being capable of. Typically these values
> + * correspond to the native resolution of the panel.
> + */
> + min_lane_count = max_lane_count;
> + min_clock = max_clock;
> }
>
> for (; bpp >= 6*3; bpp -= 2*3) {</span >
Yes, this is a laptop.
Your patch is working, I used the drm-intel-nightly (2014y-09m-03d-15h-44m-26s
SHA1 ID: 4144c90b76dfe6eaa2205ac947090786b5091cff) for testing
Thanks</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>