aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2013-01-13 17:08:01 +1000
committerBen Skeggs <bskeggs@redhat.com>2013-01-13 17:59:29 +1000
commit4459146deb9eeabb0adf10d829bd8019d16bb0f4 (patch)
tree4902abb82a2340b7c933114a0a163d14eb4a57a4 /drivers/gpu
parentdrm/nve0/graph: fix fuc, and enable acceleration on all known chipsets (diff)
downloadlinux-dev-4459146deb9eeabb0adf10d829bd8019d16bb0f4.tar.xz
linux-dev-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.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;