[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <s5hei6erugz.wl%tiwai@suse.de>
Date: Fri, 11 Mar 2011 08:23:40 +0100
From: Takashi Iwai <tiwai@...e.de>
To: "Indan Zupancic" <indan@....nu>
Cc: "Keith Packard" <keithp@...thp.com>,
"Linus Torvalds" <torvalds@...ux-foundation.org>,
"Jesse Barnes" <jbarnes@...tuousgeek.org>,
"DRI mailing list" <dri-devel@...ts.freedesktop.org>,
"Chris Wilson" <chris@...is-wilson.co.uk>,
"Linux Kernel Mailing List" <linux-kernel@...r.kernel.org>
Subject: Re: drm/i915: Fix DPMS and suspend interaction for intel_panel.c
[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@....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@...e.de>
thanks,
Takashi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists