viafb: make suspend and resume work (on all machines?)
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Mon, 26 Apr 2010 17:08:00 +0000 (17:08 +0000)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Sun, 24 Oct 2010 13:04:51 +0000 (13:04 +0000)
commit466bc7fc4246d95cbd37edd169eafb8185e41941
tree1905418fda1b3dde93a27bdd143ec5adb3a8665c
parentb75f2c01de34daf0b25cbd75fcf00511548ffa1e
viafb: make suspend and resume work (on all machines?)

This patch removes the dangerous suspend and resume code that was
developed for VX855 only. After this the framebuffer is expected to
cause no longer serious (freezing) issues on any machines.
However the hardware acceleration is broken now so only doing resume
with unaccelerated framebuffers is save. This did not work previously
as the 2D engine is not mapped if the framebuffer is not accelerated.
The acceleration issue will be addressed later.

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/viafbdev.c
drivers/video/via/viafbdev.h