This is a note to let you know that I've just added the patch titled

    drm/i915: check eDP encoder correctly when setting modes

to the 2.6.37-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-check-edp-encoder-correctly-when-setting-modes.patch
and it can be found in the queue-2.6.37 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.


>From 858bc21f0637c407601a05626854ae58b242f75d Mon Sep 17 00:00:00 2001
From: Jesse Barnes <[email protected]>
Date: Tue, 4 Jan 2011 10:46:49 -0800
Subject: drm/i915: check eDP encoder correctly when setting modes

From: Jesse Barnes <[email protected]>

commit 858bc21f0637c407601a05626854ae58b242f75d upstream.

We were using a stale pointer in the check which caused us to use CPU
attached DP params when we should have been using PCH attached params.

Signed-off-by: Jesse Barnes <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=31988
Tested-by: Jan-Hendrik Zab <[email protected]>
Tested-by: Christoph Lukas <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 drivers/gpu/drm/i915/intel_display.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -3714,7 +3714,7 @@ static int intel_crtc_mode_set(struct dr
                int lane = 0, link_bw, bpp;
                /* CPU eDP doesn't require FDI link, so just set DP M/N
                   according to current link config */
-               if (has_edp_encoder && 
!intel_encoder_is_pch_edp(&encoder->base)) {
+               if (has_edp_encoder && 
!intel_encoder_is_pch_edp(&has_edp_encoder->base)) {
                        target_clock = mode->clock;
                        intel_edp_link_config(has_edp_encoder,
                                              &lane, &link_bw);


Patches currently in stable-queue which might be from [email protected] 
are

queue-2.6.37/drm-i915-check-edp-encoder-correctly-when-setting-modes.patch
queue-2.6.37/pci-pci-stub-ignore-zero-length-id-parameters.patch

_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable

Reply via email to