[lkml]   [2011]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
SubjectRe: [Regression] Laptop screen dark when lid closed and reopened.with 3.1

>The following patch fixes the problem for me:

[ snip ]

>the panel was disabled, which caused a 0 to be saved as the value to restore the brightness. intel_panel_disable_backlight
>merely sets the brightness to 0. Commenting out this call allows the correct brightness value to be saved.

> Thoughts?

Use this patch instead:

diff --git a/drivers/gpu/drm/i915/intel_panel.c b/drivers/gpu/drm/i915/intel_panel.c
index a9e0c7b..6f56676 100644
--- a/drivers/gpu/drm/i915/intel_panel.c
+++ b/drivers/gpu/drm/i915/intel_panel.c
@@ -262,8 +262,6 @@ void intel_panel_disable_backlight(struct drm_device *dev)
                dev_priv->backlight_level = intel_panel_get_backlight(dev);
                dev_priv->backlight_enabled = false;
-       intel_panel_set_backlight(dev, 0);
 void intel_panel_enable_backlight(struct drm_device *dev)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2011-10-02 23:13    [W:0.082 / U:0.016 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site