ACPI video: support _BQC/_BCL/_BCM methods that use index values
authorZhang Rui <rui.zhang@intel.com>
Wed, 18 Mar 2009 08:27:16 +0000 (16:27 +0800)
committerLen Brown <len.brown@intel.com>
Sat, 28 Mar 2009 01:56:45 +0000 (21:56 -0400)
commit1a7c618a3f7bef1a20ae740df512eeba21397fa5
tree51626f0f394e01bdb662d9466db68386c731b06f
parentd80fb99fdcd56f4934f11cc44ca016463842dc8b
ACPI video: support _BQC/_BCL/_BCM methods that use index values

The input/output of _BQC/_BCL/_BCM control methods should be represented
by a number between 0 and 100, and can be thought of as a percentage.
But some buggy _BQC/_BCL/_BCM methods use the index values instead.
http://bugzilla.kernel.org/show_bug.cgi?id=12302
http://bugzilla.kernel.org/show_bug.cgi?id=12249
http://bugzilla.kernel.org/show_bug.cgi?id=12037

Add the functionality to support such kind of BIOSes in ACPI video driver.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Acked-by: Matthew Garrett <mjg59@srcf.ucam.org>
Acked-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/video.c