summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2013-01-13 11:08:01 +0400
committerBen Skeggs <bskeggs@redhat.com>2013-01-13 11:59:29 +0400
commit4459146deb9eeabb0adf10d829bd8019d16bb0f4 (patch)
tree4902abb82a2340b7c933114a0a163d14eb4a57a4 /drivers/gpu/drm
parenteca15296a9c2a5d5d7d8281a710ba4bd0c2e7cd3 (diff)
downloadlinux-4459146deb9eeabb0adf10d829bd8019d16bb0f4.tar.xz
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/drm')
-rw-r--r--drivers/gpu/drm/nouveau/core/subdev/bios/init.c1
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;