[Bug 64415] [ILK] Some modes unable to light up on DP display

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 18 14:43:06 PST 2013


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

--- Comment #6 from Jesse Barnes <jbarnes at virtuousgeek.org> ---
Wonder if this is an issue with our wide vs narrow config?  If so, this patch
might help:


diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index cbf33be..44b3d95 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -847,8 +847,8 @@ intel_dp_compute_config(struct intel_encoder *encoder,
         mode_rate = intel_dp_link_required(adjusted_mode->crtc_clock,
                            bpp);

-        for (clock = 0; clock <= max_clock; clock++) {
-            for (lane_count = 1; lane_count <= max_lane_count;  lane_count <<=
1) {
+        for (lane_count = 1; lane_count <= max_lane_count; lane_count <<= 1) {
+            for (clock = 0; 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 the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20131118/c1e84e32/attachment.html>


More information about the intel-gfx-bugs mailing list