https://github.com/torvalds/linux
Revision e284175a96e5af087ea7806b3e38282b524ff5b9 authored by Jiang Liu on 20 February 2014, 09:23:16 UTC, committed by Rafael J. Wysocki on 20 February 2014, 20:19:47 UTC
Fix regression caused by commit b072e53, which breaks loading nouveau
driver on optimus laptops.

On some platforms, ACPI _DSM method (nouveau_op_dsm_muid, function 0)
has special requirements on the fourth parameter, which is different
from ACPI specifications. So revert to the private implementation
to check availability of _DSM functions instead of using common
acpi_check_dsm() interface.

Fixes: b072e53b0a27 (ACPI / nouveau: replace open-coded _DSM code with helper functions)
Reported-and-tested-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
[rjw: Subject]
Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 6d0abec
History
Tip revision: e284175a96e5af087ea7806b3e38282b524ff5b9 authored by Jiang Liu on 20 February 2014, 09:23:16 UTC
ACPI / nouveau: fix probing regression related to _DSM
Tip revision: e284175
File Mode Size
Kconfig -rw-r--r-- 59.2 KB
Makefile -rw-r--r-- 1.1 KB
calibrate.c -rw-r--r-- 8.3 KB
do_mounts.c -rw-r--r-- 14.3 KB
do_mounts.h -rw-r--r-- 1.4 KB
do_mounts_initrd.c -rw-r--r-- 3.4 KB
do_mounts_md.c -rw-r--r-- 8.2 KB
do_mounts_rd.c -rw-r--r-- 8.6 KB
init_task.c -rw-r--r-- 728 bytes
initramfs.c -rw-r--r-- 13.0 KB
main.c -rw-r--r-- 22.6 KB
noinitramfs.c -rw-r--r-- 1.5 KB
version.c -rw-r--r-- 1.2 KB

back to top