[Intel-gfx] [PATCH] drm/i915: Fix inconsistent backlight level during disabled

Keith Packard keithp at keithp.com
Thu Nov 17 22:00:35 CET 2011


On Wed, 16 Nov 2011 10:58:03 +0100, Takashi Iwai <tiwai at suse.de> 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 at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20111117/c10c9964/attachment.sig>


More information about the Intel-gfx mailing list