Selaa lähdekoodia

drm/amdgpu: don't VT switch on suspend

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>
Alex Deucher 9 vuotta sitten
vanhempi
commit
df7989fe1e
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c

+ 1 - 0
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) {