aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2015-11-02 15:52:32 +0000
committerAlex Deucher <[email protected]>2015-11-03 16:15:08 +0000
commitdf7989fe1ef5ae39902deb4eed498cf8e51cb7df (patch)
tree76e20b0e2caa9cb6e2eeb980d01723afd7a79483
parentdrm/amdgpu: Make amdgpu_mn functions inline (diff)
downloadkernel-df7989fe1ef5ae39902deb4eed498cf8e51cb7df.tar.gz
kernel-df7989fe1ef5ae39902deb4eed498cf8e51cb7df.zip
drm/amdgpu: don't VT switch on suspend
Reviewed-by: Jammy Zhou <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c1
1 files changed, 1 insertions, 0 deletions
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) {