From: Alex Deucher Date: Mon, 2 Nov 2015 15:52:32 +0000 (-0500) Subject: drm/amdgpu: don't VT switch on suspend X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=df7989fe1ef5ae39902deb4eed498cf8e51cb7df;p=openwrt%2Fstaging%2Fblogic.git drm/amdgpu: don't VT switch on suspend Reviewed-by: Jammy Zhou Reviewed-by: Christian König Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c index 8a122b1b7786..8574bb2c8c2d 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c @@ -207,6 +207,7 @@ static int amdgpufb_create(struct drm_fb_helper *helper, } info->par = rfbdev; + info->skip_vt_switch = true; ret = amdgpu_framebuffer_init(adev->ddev, &rfbdev->rfb, &mode_cmd, gobj); if (ret) {