summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_dp.c
diff options
context:
space:
mode:
authorTakashi Iwai2011-11-16 10:58:03 +0100
committerKeith Packard2011-11-17 21:59:58 +0100
commit04b38670cf46c096705f24e92a8747d1ab89e53c (patch)
tree2aa34cbb1e725f2f2c50bee3d1da76d5cc1e14d5 /drivers/gpu/drm/i915/intel_dp.c
parentdrm, i915: Fix memory leak in i915_gem_busy_ioctl(). (diff)
downloadkernel-qcow2-linux-04b38670cf46c096705f24e92a8747d1ab89e53c.tar.gz
kernel-qcow2-linux-04b38670cf46c096705f24e92a8747d1ab89e53c.tar.xz
kernel-qcow2-linux-04b38670cf46c096705f24e92a8747d1ab89e53c.zip
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 <kamal@canonical.com> Cc: Alex Davis <alex14641@yahoo.com> Cc: <stable@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp.c')
0 files changed, 0 insertions, 0 deletions