Re: [PATCH] drm/i915: fix inconsistent brightness after resume

2015-01-12 Thread Jeremiah Mahler
Jani, On Mon, Jan 12, 2015 at 12:31:09PM +0200, Jani Nikula wrote: > On Sat, 10 Jan 2015, Jeremiah Mahler wrote: [...] > > I think part of the problem is that the userspace sets brightness to > minimum before suspend, but apparently does not restore it after > resume. The dmesg would confirm

Re: [PATCH] drm/i915: fix inconsistent brightness after resume

2015-01-12 Thread Jani Nikula
On Sat, 10 Jan 2015, Jeremiah Mahler wrote: > Commit 6dda730e55f4 introduced a bug which resulted in inconsistent > brightness levels on different machines. If a suspended was entered > with the screen off some machines would resume with the screen > at minimum brightness and others at maximum

Re: [PATCH] drm/i915: fix inconsistent brightness after resume

2015-01-12 Thread Jani Nikula
On Sat, 10 Jan 2015, Jeremiah Mahler jmmah...@gmail.com wrote: Commit 6dda730e55f4 introduced a bug which resulted in inconsistent brightness levels on different machines. If a suspended was entered with the screen off some machines would resume with the screen at minimum brightness and others

Re: [PATCH] drm/i915: fix inconsistent brightness after resume

2015-01-12 Thread Jeremiah Mahler
Jani, On Mon, Jan 12, 2015 at 12:31:09PM +0200, Jani Nikula wrote: On Sat, 10 Jan 2015, Jeremiah Mahler jmmah...@gmail.com wrote: [...] I think part of the problem is that the userspace sets brightness to minimum before suspend, but apparently does not restore it after resume. The dmesg

[PATCH] drm/i915: fix inconsistent brightness after resume

2015-01-10 Thread Jeremiah Mahler
Commit 6dda730e55f4 introduced a bug which resulted in inconsistent brightness levels on different machines. If a suspended was entered with the screen off some machines would resume with the screen at minimum brightness and others at maximum brightness. The following commands can be used to

[PATCH] drm/i915: fix inconsistent brightness after resume

2015-01-10 Thread Jeremiah Mahler
Commit 6dda730e55f4 introduced a bug which resulted in inconsistent brightness levels on different machines. If a suspended was entered with the screen off some machines would resume with the screen at minimum brightness and others at maximum brightness. The following commands can be used to