|
@@ -1533,11 +1533,6 @@ int radeon_resume_kms(struct drm_device *dev, bool resume, bool fbcon)
|
|
|
|
|
|
|
|
radeon_restore_bios_scratch_regs(rdev);
|
|
radeon_restore_bios_scratch_regs(rdev);
|
|
|
|
|
|
|
|
- if (fbcon) {
|
|
|
|
|
- radeon_fbdev_set_suspend(rdev, 0);
|
|
|
|
|
- console_unlock();
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
/* init dig PHYs, disp eng pll */
|
|
/* init dig PHYs, disp eng pll */
|
|
|
if (rdev->is_atom_bios) {
|
|
if (rdev->is_atom_bios) {
|
|
|
radeon_atom_encoder_init(rdev);
|
|
radeon_atom_encoder_init(rdev);
|
|
@@ -1562,6 +1557,12 @@ int radeon_resume_kms(struct drm_device *dev, bool resume, bool fbcon)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
drm_kms_helper_poll_enable(dev);
|
|
drm_kms_helper_poll_enable(dev);
|
|
|
|
|
+
|
|
|
|
|
+ if (fbcon) {
|
|
|
|
|
+ radeon_fbdev_set_suspend(rdev, 0);
|
|
|
|
|
+ console_unlock();
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
return 0;
|
|
return 0;
|
|
|
}
|
|
}
|
|
|
|
|
|