alistair23-linux/include/acpi
Thomas Renninger 22c13f9d81 ACPI: video: Ignore devices that aren't present in hardware
This is a reimplemention of commit
0119509c4f
from Matthew Garrett <mjg59@srcf.ucam.org>

This patch got removed because of a regression: ThinkPads with a
Intel graphics card and an Integrated Graphics Device BIOS implementation
stopped working.
In fact, they only worked because the ACPI device of the discrete, the
wrong one, got used (via int10). So ACPI functions were poking on the wrong
hardware used which is a sever bug.
The next patch provides support for above ThinkPads to be able to
switch brightness via the legacy thinkpad_acpi driver and automatically
detect when to use it.

Original commit message from Matthew Garrett:
    Vendors often ship machines with a choice of integrated or discrete
    graphics, and use the same DSDT for both. As a result, the ACPI video
    module will locate devices that may not exist on this specific platform.
    Attempt to determine whether the device exists or not, and abort the
    device creation if it doesn't.

http://bugzilla.kernel.org/show_bug.cgi?id=9614

Signed-off-by: Thomas Renninger <trenn@suse.de>
Acked-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2008-11-07 23:49:23 -05:00
..
platform Merge branch 'linus' into test 2008-10-23 00:11:07 -04:00
acconfig.h ACPICA: Update version to 20080926 2008-10-22 23:14:50 -04:00
acdebug.h ACPICA: New: Validation for predefined ACPI methods/objects 2008-10-22 23:14:49 -04:00
acdisasm.h ACPICA: x2APIC support: changes for MADT and SRAT ACPI tables 2008-10-22 23:14:40 -04:00
acdispat.h ACPICA: Cleanup for internal Reference Object 2008-10-22 23:14:45 -04:00
acevents.h
acexcep.h ACPICA: Remove obsolete exception codes 2008-10-22 23:14:43 -04:00
acglobal.h
achware.h ACPI: Enhance /sys/firmware/interrupts to allow enable/disable/clear from user-space 2008-07-16 23:27:04 +02:00
acinterp.h ACPICA: Cleanup debug operand dump mechanism 2008-07-16 23:27:04 +02:00
aclocal.h ACPICA: New: Validation for predefined ACPI methods/objects 2008-10-22 23:14:49 -04:00
acmacros.h Merge branch 'linus' into test 2008-10-23 00:11:07 -04:00
acnames.h
acnamesp.h ACPICA: New: Validation for predefined ACPI methods/objects 2008-10-22 23:14:49 -04:00
acobject.h ACPICA: Cleanup for internal Reference Object 2008-10-22 23:14:45 -04:00
acopcode.h
acoutput.h ACPICA: Remove obsolete debug levels (WARN and ERROR) 2008-10-22 23:14:42 -04:00
acparser.h
acpi.h
acpi_bus.h ACPI: video: Ignore devices that aren't present in hardware 2008-11-07 23:49:23 -05:00
acpi_drivers.h Merge branch 'ec' into test 2008-10-22 23:27:59 -04:00
acpi_numa.h
acpiosxf.h ACPI: fix hotplug race 2008-09-23 23:12:38 -04:00
acpixf.h ACPI: Enhance /sys/firmware/interrupts to allow enable/disable/clear from user-space 2008-07-16 23:27:04 +02:00
acpredef.h ACPICA: New: Validation for predefined ACPI methods/objects 2008-10-22 23:14:49 -04:00
acresrc.h
acstruct.h
actables.h
actbl.h PCI: disable ASPM per ACPI FADT setting 2008-07-28 14:56:09 -07:00
actbl1.h ACPICA: x2APIC support: changes for MADT and SRAT ACPI tables 2008-10-22 23:14:40 -04:00
actypes.h ACPICA: Remove unused ACPI register bit definition 2008-10-22 23:14:46 -04:00
acutils.h ACPICA: Add function to decode reference obj types to strings 2008-10-22 23:14:39 -04:00
amlcode.h
amlresrc.h
container.h
pdc_intel.h
processor.h
reboot.h Add the ability to reset the machine using the RESET_REG in ACPI's FADT table. 2008-07-16 23:27:08 +02:00