Re: [PATCH] drm/i915: Fix inconsistent backlight level during disabled

From: Keith Packard
Date: Thu Nov 17 2011 - 16:00:40 EST


On Wed, 16 Nov 2011 10:58:03 +0100, Takashi Iwai <tiwai@xxxxxxx> wrote:

> When the brightness property is inquired while the backlight is disabled,
> the driver returns a wrong value (zero) because it probes the value after
> the backlight was turned off. This caused a black screen even after the
> backlight is enabled again. It should return the internal backlight_level
> instead, so that it won't be influenced by the backlight-enable state.

Yes, this looks correct by inspection to me. I'll stick it into
drm-intel-fixes.

--
keith.packard@xxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature