commit | 04b38670cf46c096705f24e92a8747d1ab89e53c | [log] [tgz] |
---|---|---|
author | Takashi Iwai <[email protected]> | Wed Nov 16 10:58:03 2011 +0100 |
committer | Keith Packard <[email protected]> | Thu Nov 17 12:59:58 2011 -0800 |
tree | 2aa34cbb1e725f2f2c50bee3d1da76d5cc1e14d5 | |
parent | 457eafce618cf89125da9d79751d81241bd3fa34 [diff] |
drm/i915: Fix inconsistent backlight level during disabled 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. BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=41926 BugLink: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/872652 Tested-by: Kamal Mostafa <[email protected]> Cc: Alex Davis <[email protected]> Cc: <[email protected]> Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Keith Packard <[email protected]>