From: Takashi Iwai <tiwai@suse.de>
To: "Indan Zupancic" <indan@nul.nu>
Cc: "Keith Packard" <keithp@keithp.com>,
"Linus Torvalds" <torvalds@linux-foundation.org>,
"Jesse Barnes" <jbarnes@virtuousgeek.org>,
"DRI mailing list" <dri-devel@lists.freedesktop.org>,
"Chris Wilson" <chris@chris-wilson.co.uk>,
"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>
Subject: Re: drm/i915: Fix DPMS and suspend interaction for intel_panel.c
Date: Fri, 11 Mar 2011 08:23:40 +0100 [thread overview]
Message-ID: <s5hei6erugz.wl%tiwai@suse.de> (raw)
In-Reply-To: <5e60ae646a15c73f5be0c309f51d1c63.squirrel@webmail.greenhost.nl>
[Removed stable-kernel from Cc]
At Fri, 11 Mar 2011 02:35:45 +0100 (CET),
Indan Zupancic wrote:
>
> drm/i915: Fix DPMS and suspend interaction for intel_panel.c
>
> When suspending intel_panel_disable_backlight() is never called,
> but intel_panel_enable_backlight() is called at resume. With the
> effect that if the brightness was ever changed after screen
> blanking, the wrong brightness gets restored at resume time.
>
> Nothing guarantees that those calls will be balanced, so having
> backlight_enabled makes no sense, as the real state can change
> without the panel code noticing. So keep things as stateless as
> possible.
>
> Signed-off-by: Indan Zupancic <indan@nul.nu>
Indan, when you need a patch to be added to stable kernel, just put
Cc to stable kernel around your sign-off line. Then Greg will pick it
up automatically once when the patch is merged to Linus tree.
Anyway, the patch looks good to me. A nice clean-up.
Reviewed-by: Takashi Iwai <tiwai@suse.de>
thanks,
Takashi
next prev parent reply other threads:[~2011-03-11 7:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-11 1:35 drm/i915: Fix DPMS and suspend interaction for intel_panel.c Indan Zupancic
2011-03-11 7:23 ` Takashi Iwai [this message]
2011-03-11 8:30 ` Indan Zupancic
2011-03-11 8:07 ` Chris Wilson
2011-03-11 9:06 ` Indan Zupancic
2011-03-11 17:27 ` Jesse Barnes
2011-03-12 1:15 ` Indan Zupancic
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=s5hei6erugz.wl%tiwai@suse.de \
--to=tiwai@suse.de \
--cc=chris@chris-wilson.co.uk \
--cc=dri-devel@lists.freedesktop.org \
--cc=indan@nul.nu \
--cc=jbarnes@virtuousgeek.org \
--cc=keithp@keithp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
/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