]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit93a4ebf04a1d1ef95e9bdac2eb098dcc2fc36a67
treeae2a647ada73c577de93d23d7ec4cc1d1105f84c
parent8c75fbb6201ceda22faa2055d8e2b9964ad6b107
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