]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/nouveau/acpi: allow non-optimus setups to load vbios from acpi
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 26 Mar 2014 23:37:21 +0000 (19:37 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Jun 2014 17:28:18 +0000 (10:28 -0700)
commit939837d48a1a31304938f10ee1a454ef4aa838b2
tree2fcca93ed4dc3d12f8931e8da709b0d684c29b26
parente9582f152369e8e183e9c5cd5e42900ff87a7f24
drm/nouveau/acpi: allow non-optimus setups to load vbios from acpi

commit a3d0b1218d351c6e6f3cea36abe22236a08cb246 upstream.

There appear to be a crop of new hardware where the vbios is not
available from PROM/PRAMIN, but there is a valid _ROM method in ACPI.
The data read from PCIROM almost invariably contains invalid
instructions (still has the x86 opcodes), which makes this a low-risk
way to try to obtain a valid vbios image.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76475
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/nouveau/nouveau_acpi.c