mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alex Davis <alex14641@yahoo.com>
To: "wmkoolen@science.uva.nl" <wmkoolen@science.uva.nl>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re:[bisected] i915 dpms does not switch back light on
Date: Thu, 27 Oct 2011 12:27:50 -0700 (PDT)	[thread overview]
Message-ID: <1319743670.62757.YahooMailNeo@web130109.mail.mud.yahoo.com> (raw)

>Hi guys,
>
>After update from kernel 3.0.8 to 3.1 I encounter the following problem. 
>When power saving turns off the back light, key/mouse activity does not 
>turn it back on. I can turn it back on by pressing the "brightness++" key.


I've been having this problem as well. I created a patch that fixes the problem for me and others:

diff --git a/drivers/gpu/drm/i915/intel_panel.c b/drivers/gpu/drm/i915/intel_panel.c
index 6f56676..a9e0c7b 100644
--- a/drivers/gpu/drm/i915/intel_panel.c
+++ b/drivers/gpu/drm/i915/intel_panel.c
@@ -262,6 +262,8 @@ 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);
 }


For more info, see http://marc.info/?l=linux-kernel&m=131959957117710&w=2

I code, therefore I am

             reply	other threads:[~2011-10-27 19:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-27 19:27 Alex Davis [this message]
2011-10-27 20:38 ` [bisected] " Alex Davis
2011-10-31 13:57   ` Wouter M. Koolen
2011-10-31 23:41     ` Alex Davis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1319743670.62757.YahooMailNeo@web130109.mail.mud.yahoo.com \
    --to=alex14641@yahoo.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wmkoolen@science.uva.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®