Re: [PATCH] backlight: Don't read back backlight setting from kernel on DPMS off

Chris Wilson
2014-06-07T11:12:45Z

On Sat, Jun 07, 2014 at 12:18:35PM +0200, Hans de Goede wrote:
> Hi,
>
> On 06/06/2014 04:51 PM, Chris Wilson wrote:
> >commit c6cd10f536e099277cdc46643725a5a50ea8b525
> >Author: Chris Wilson <chris@chris-wilson.co.uk>
> >Date: Thu Jun 5 22:43:37 2014 +0100
>
> Thanks, I fail to see how this addresses the original problem though,
> current master still reads back the backlight from the kernel at DPMS
> off, so the problem my original patch in this thread tries to fix
> still exists AFAIK, we will still read back 0 on DPMS off in the
> scenario my patch tries to address.

It changes the sequence in which output->funcs->dpms is called to
prevent the bug.
-Chris

--
Chris Wilson, Intel Open Source Technology Centre