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

    drm/i915/dp: Flush any outstanding work to turn the VDD off

to the 3.4-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-dp-flush-any-outstanding-work-to-turn-the-vdd-off.patch
and it can be found in the queue-3.4 subdirectory.

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


>From 17038de5f16569a25343cf68668f3b657eafb00e Mon Sep 17 00:00:00 2001
From: Chris Wilson <[email protected]>
Date: Mon, 16 Apr 2012 22:43:42 +0100
Subject: drm/i915/dp: Flush any outstanding work to turn the VDD off

From: Chris Wilson <[email protected]>

commit 17038de5f16569a25343cf68668f3b657eafb00e upstream.

As we may kick off a delayed workqueue task to switch of the VDD lines, we
need to complete that task prior to turning off the panel (which itself
depends upon VDD being off).

v2: Don't cancel the outstanding work as this may trigger a deadlock

Signed-off-by: Chris Wilson <[email protected]>
Cc: Keith Packard <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

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

--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -1149,6 +1149,7 @@ static void ironlake_edp_panel_off(struc
        DRM_DEBUG_KMS("Turn eDP power off\n");
 
        WARN(intel_dp->want_panel_vdd, "Cannot turn power off while VDD is 
on\n");
+       ironlake_panel_vdd_off_sync(intel_dp); /* finish any pending work */
 
        pp = ironlake_get_pp_control(dev_priv);
        pp &= ~(POWER_TARGET_ON | EDP_FORCE_VDD | PANEL_POWER_RESET | 
EDP_BLC_ENABLE);


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

queue-3.4/drm-i915-enable-vdd-when-switching-off-the-edp-panel.patch
queue-3.4/drm-i915-dp-flush-any-outstanding-work-to-turn-the-vdd-off.patch
queue-3.4/drm-i915-wait-for-a-vblank-to-pass-after-tv-detect.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to