]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
gxfb: add power management functionality
authorAndres Salomon <dilinger@queued.net>
Mon, 28 Apr 2008 09:15:02 +0000 (02:15 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:36 +0000 (08:58 -0700)
commit46fb6f110dfc3fc99f44cf701f66ea3e790b6a81
treef1fd3abed10ac35bed20670bb47b83c592293d07
parentd1b4cc3ec5f8ddbac57ada58cbab36f5a0be38eb
gxfb: add power management functionality

This adds the ability to suspend/resume the gxfb driver, which includes:
  - The addition of a Graphics Processor register table in gxfb.h, and
    associated GP handling.
  - Register and palette saving code; registers are stored in gxfb_par.
    A few MSR values are saved as well.
  - gx_powerup and gx_powerdown functions which restore/save registers and
    enable/disable graphic engines.
  - gxfb_suspend/gxfb_resume

Originally based on a patch by Jordan Crouse.

Signed-off-by: Andres Salomon <dilinger@debian.org>
Cc: Jordan Crouse <jordan.crouse@amd.com>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/geode/Makefile
drivers/video/geode/gxfb.h
drivers/video/geode/gxfb_core.c
drivers/video/geode/suspend_gx.c [new file with mode: 0644]