]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/i915: Fix calculation of backlight value in combined mode
authorTakashi Iwai <tiwai@suse.de>
Fri, 11 Mar 2011 11:34:41 +0000 (12:34 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Mar 2011 19:49:58 +0000 (12:49 -0700)
commit7cc775c711787ca3a1c113c14f6105d2f89f965c
tree03ece9816aef709ff497eb41affdc4b0c68efa33
parentd078eae3ade297434429b86e4eb44f8f66aef712
drm/i915: Fix calculation of backlight value in combined mode

commit ba3820ade317ee36e496b9b40d2ec3987dd4aef0 upstream.

[The upstream commit above is a combination of revert + one-liner fix.
 This patch contains only the latter that is needed for 2.6.37.x.]

This patch fixes the backlight level calculation for combination mode
used in some models like GM45.  It's due to a wrong bit shift
introduced by the commit a95735569312f2ab0c80425e2cd1e5cb0b4e1870
    drm/i915: Refactor panel backlight controls

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=23472
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34524
Bugzilla: https://bugzilla.novell.com/show_bug.cgi?id=672946

Signed-off-by: Takashi Iwai <tiwai@suse.de>
drivers/gpu/drm/i915/intel_panel.c