drm: rockchip: Turn off VT switching on suspend
authorCaesar Wang <wxt@rock-chips.com>
Tue, 31 Mar 2015 10:22:50 +0000 (18:22 +0800)
committerMark Yao <mark.yao@rock-chips.com>
Fri, 3 Apr 2015 06:23:21 +0000 (14:23 +0800)
commitb340b3fb71473291ea924a47e0069828c83da729
tree2e379d085886dc90b25baa290fe14a49f8976ea7
parentd3007dabeff493d82416a7ed69e0ff055a579fa1
drm: rockchip: Turn off VT switching on suspend

drm/rockchip already has support for disabling all displays on suspend
and enabling them on resume.

Disable automatic VT switching on suspend by the pm console tracking
layer.

Tested on veyron, used `echo mem > sys/power/state`
  => verified no VT switch

Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c