drm: cirrus: add power management support
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 14 Apr 2014 09:34:48 +0000 (11:34 +0200)
committerDave Airlie <airlied@redhat.com>
Fri, 18 Apr 2014 03:31:49 +0000 (13:31 +1000)
commit2f1e800799bf478494cec3573cd63eb34ca89c9d
treeae2a647ada73c577de93d23d7ec4cc1d1105f84c
parent8d754544202c0e4ef02e9c1abdf379bcf7ef9384
drm: cirrus: add power management support

cirrus kms driver lacks power management support, thus
the vga display doesn't work any more after S3 resume.

Fix this by adding suspend and resume functions.
Also make the mode_set function unblank the screen.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/cirrus/cirrus_drv.c
drivers/gpu/drm/cirrus/cirrus_mode.c