[Bug 76711] [BDW Regression] blank screen on eDP with 38aecea0

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 6 05:21:55 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=76711

--- Comment #33 from Jani Nikula <jani.nikula at intel.com> ---
Please *also* try the below test patch on top of current drm-intel-nightly, see
if it works, and attach dmesg.

diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index 87b0a515d7a5..67fd0ec2b34d 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -814,8 +814,8 @@ intel_dp_compute_config(struct intel_encoder *encoder,
                mode_rate = intel_dp_link_required(adjusted_mode->crtc_clock,
                                                   bpp);

-               for (lane_count = 1; lane_count <= max_lane_count; lane_count
<<= 1) {
-                       for (clock = 0; clock <= max_clock; clock++) {
+               for (lane_count = max_lane_count; lane_count <= max_lane_count;
lane_count <<= 1) {
+                       for (clock = max_clock; clock <= max_clock; clock++) {
                                link_clock =
drm_dp_bw_code_to_link_rate(bws[clock]);
                                link_avail = intel_dp_max_data_rate(link_clock,
                                                                   
lane_count);

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140506/8be621f1/attachment.html>


More information about the intel-gfx-bugs mailing list