linux-sg2042/drivers/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
..
dispatcher ACPICA: Fix for implicit return compatibility 2008-10-22 23:14:49 -04:00
events ACPI: Enhance /sys/firmware/interrupts to allow enable/disable/clear from user-space 2008-07-16 23:27:04 +02:00
executer ACPICA: Add support for zero-length buffer-to-string conversions 2008-10-22 23:14:50 -04:00
hardware ACPI suspend: Always use the 32-bit waking vector 2008-10-16 20:45:35 -04:00
namespace ACPICA: New: Validation for predefined ACPI methods/objects 2008-10-22 23:14:49 -04:00
parser ACPICA: Fixed a couple memory leaks associated with "implicit return" 2008-10-22 23:14:48 -04:00
resources ACPICA: Cleanup for internal Reference Object 2008-10-22 23:14:45 -04:00
sleep ACPI suspend: build fix for ACPI_SLEEP=n && XEN_SAVE_RESTORE=y. 2008-10-25 04:07:13 -04:00
tables Merge branch 'fadt-test' into test 2008-10-22 23:28:03 -04:00
utilities ACPICA: Optimize buffer allocation procedure 2008-10-22 23:14:48 -04:00
Kconfig dock: make dock driver not a module 2008-10-23 04:00:47 -04:00
Makefile ACPI: hack around sysfs warning with link order 2008-10-23 00:47:54 -04:00
ac.c Merge branch 'ull' into test 2008-10-22 23:33:29 -04:00
acpi_memhotplug.c Merge branch 'ull' into test 2008-10-22 23:33:29 -04:00
asus_acpi.c Merge branch 'ull' into test 2008-10-22 23:33:29 -04:00
battery.c Merge branch 'linus' into test 2008-10-23 00:11:07 -04:00
blacklist.c ACPI: DMI: quirk for FSC ESPRIMO Mobile V5505 2008-02-14 02:43:39 -05:00
bus.c Merge branch 'ull' into test 2008-10-22 23:33:29 -04:00
button.c ACPI: Always report a sync event after a lid state change 2008-10-25 04:07:12 -04:00
cm_sbs.c ACPI: replace ACPI_DEBUG_PRINT((ACPI_DB_ERROR, ...) with printk 2008-10-22 23:14:41 -04:00
container.c Merge branch 'ull' into test 2008-10-22 23:33:29 -04:00
debug.c ACPICA: Remove obsolete debug levels (WARN and ERROR) 2008-10-22 23:14:42 -04:00
dock.c Merge branch 'ull' into test 2008-10-22 23:33:29 -04:00
ec.c Merge branch 'ull' into test 2008-10-22 23:33:29 -04:00
event.c acpi: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
fan.c Merge branch 'misc' into test 2008-10-22 23:28:38 -04:00
glue.c ACPI: video: Ignore devices that aren't present in hardware 2008-11-07 23:49:23 -05:00
numa.c ACPI: Change acpi_evaluate_integer to support 64-bit on 32-bit kernels 2008-10-11 02:47:33 -04:00
osl.c Merge branch 'ull' into test 2008-10-22 23:33:29 -04:00
pci_bind.c ACPI: misc cleanups 2008-02-07 03:33:23 -05:00
pci_irq.c ACPI: use dev_printk when possible 2008-07-16 23:27:07 +02:00
pci_link.c Merge branch 'misc' into test 2008-10-22 23:28:38 -04:00
pci_root.c Merge branch 'ull' into test 2008-10-22 23:33:29 -04:00
pci_slot.c Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 2008-10-23 10:20:36 -07:00
power.c Merge branch 'ull' into test 2008-10-22 23:33:29 -04:00
processor_core.c Merge branch 'ull' into test 2008-10-22 23:33:29 -04:00
processor_idle.c cpuidle: update the last_state acpi cpuidle reflecting actual state entered 2008-10-16 18:00:04 -04:00
processor_perflib.c ACPI: cpufreq, processor: fix compile error in drivers/acpi/processor_perflib.c 2008-10-25 04:07:12 -04:00
processor_thermal.c acpi: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
processor_throttling.c Merge branch 'ull' into test 2008-10-22 23:33:29 -04:00
reboot.c ACPI: Ingore the RESET_REG_SUP bit when using ACPI reset mechanism 2008-10-18 01:01:12 -04:00
sbs.c Merge branch 'linus' into test 2008-10-23 00:11:07 -04:00
sbshc.c Merge branch 'ull' into test 2008-10-22 23:33:29 -04:00
sbshc.h ACPI: SBS: Ignore alarms coming from unknown devices 2007-12-14 15:14:06 -05:00
scan.c Merge branch 'misc' into test 2008-10-22 23:28:38 -04:00
system.c Merge branch 'linus' into test 2008-10-23 00:11:07 -04:00
tables.c acpi: add checking for NULL early param 2008-08-21 08:45:39 +02:00
thermal.c Merge branch 'ull' into test 2008-10-22 23:33:29 -04:00
toshiba_acpi.c toshiba_acpi: always call input_sync() after input_report_switch() 2008-10-25 04:07:13 -04:00
utils.c ACPI: Change acpi_evaluate_integer to support 64-bit on 32-bit kernels 2008-10-11 02:47:33 -04:00
video.c ACPI: video: Ignore devices that aren't present in hardware 2008-11-07 23:49:23 -05:00
wmi.c Merge branch 'bugfixes' into test 2008-10-22 23:19:50 -04:00