drm/amdgpu: don't VT switch on suspend
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Nov 2015 15:52:32 +0000 (10:52 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Nov 2015 16:15:08 +0000 (11:15 -0500)
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c

index 8a122b1b77861028c123301726b8bb440537ad55..8574bb2c8c2d2e4afdca0e74653864a274a299fe 100644 (file)
@@ -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) {