Minimal support for viafb suspend/resume
authorDeepak Saxena <dsaxena@laptop.org>
Thu, 8 Apr 2010 17:15:41 +0000 (11:15 -0600)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Sun, 24 Oct 2010 13:04:46 +0000 (13:04 +0000)
commit3fd9b6cc38028ea64e9a39c6af9d5ad928594be6
treec61d7bbb85d98cc78bd5e8011de8a52bac9e698f
parentefd4f6398dc92b5bf392670df862f42a19f34cf2
Minimal support for viafb suspend/resume

This patch adds minimal support for suspend/resume of the
VIA framebuffer device. It requires a version of OFW
that restores the video mode.

This patch is OLPC-specific as the proper upstream solution
is to move the VIA video path to using the kernel modesetting
infrastructure and doing a proper save/restore in the kernel.

[jc: extensive changes for 2.6.34 merge]
Signed-off-by: Deepak Saxena <dsaxena@laptop.org>
[fts: viafb_driver moved from viafbdev.c to via-core.c]
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Acked-by: Jonathan Corbet <corbet@lwn.net>
Cc: Joseph Chan <JosephChan@via.com.tw>
drivers/video/via/via-core.c
drivers/video/via/viafbdev.c
drivers/video/via/viafbdev.h