]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] nvidiafb: add suspend and resume hooks
authorAntonino A. Daplas <adaplas@gmail.com>
Mon, 27 Mar 2006 09:17:22 +0000 (01:17 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 27 Mar 2006 16:44:55 +0000 (08:44 -0800)
commitccb0beb157d2934d12ee600b1247bea7f56a9305
tree5aba3ac594def43624d6014b384b228029b6418c
parentab4335d38d857b81ca5b8f5a35248dd32d41cda7
[PATCH] nvidiafb: add suspend and resume hooks

Add suspend and resume hooks to make software suspend more reliable.  Resuming
from standby should generally work.  Resuming from mem and from disk requires
that the GPU is disabled.  Adding these to the suspend script...

fbset -accel false -a
/* suspend here */
fbset -accel true -a

...  should generally work.  In addition, resuming from mem requires that the
video card has to be POSTed by the BIOS or some other utility.

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/nvidia/nv_accel.c
drivers/video/nvidia/nv_type.h
drivers/video/nvidia/nvidia.c