diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2013-01-13 17:08:01 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2013-01-13 17:59:29 +1000 |
commit | 4459146deb9eeabb0adf10d829bd8019d16bb0f4 (patch) | |
tree | 4902abb82a2340b7c933114a0a163d14eb4a57a4 /drivers/gpu | |
parent | eca15296a9c2a5d5d7d8281a710ba4bd0c2e7cd3 (diff) | |
download | linux-4459146deb9eeabb0adf10d829bd8019d16bb0f4.tar.gz linux-4459146deb9eeabb0adf10d829bd8019d16bb0f4.tar.bz2 linux-4459146deb9eeabb0adf10d829bd8019d16bb0f4.zip |
drm/nouveau/devinit: ensure legacy vga control is enabled during post
Fixes ACPI backlight control after suspend on some systems.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/nouveau/core/subdev/bios/init.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/core/subdev/bios/init.c b/drivers/gpu/drm/nouveau/core/subdev/bios/init.c index 2917d552689b..690ed438b2ad 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/bios/init.c +++ b/drivers/gpu/drm/nouveau/core/subdev/bios/init.c @@ -1534,7 +1534,6 @@ init_io(struct nvbios_init *init) mdelay(10); init_wr32(init, 0x614100, 0x10000018); init_wr32(init, 0x614900, 0x10000018); - return; } value = init_rdport(init, port) & mask; |