[PATCH] atyfb: Improve power management
authorVille Syrjala <syrjala@sci.fi>
Fri, 8 Dec 2006 10:40:45 +0000 (02:40 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:29:07 +0000 (08:29 -0800)
commitefc08a75d3a2d449edab7d1bee312eaa591f7669
treea22c27c69cb226dd6e1fc9dc4c82f57cd81f289e
parent4ec3fd71e4f5d1201cb7d2374ffdb4f328091fb4
[PATCH] atyfb: Improve power management

Some register were only set in aty_init() which is not called on resume.  I
added the aty_resume_chip() function to reset those registers on resume.

Susped-to-ram now works on a HP Omnibook 6000 with acpi_sleep=s3_bios.

Signed-off-by: Ville Syrjala <syrjala@sci.fi>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/aty/atyfb.h
drivers/video/aty/atyfb_base.c
drivers/video/aty/mach64_ct.c