Lines 1534-1544
int radeon_resume_kms(struct drm_device *dev, bool resume, bool fbcon)
Link Here
|
1534 |
|
1534 |
|
1535 |
radeon_restore_bios_scratch_regs(rdev); |
1535 |
radeon_restore_bios_scratch_regs(rdev); |
1536 |
|
1536 |
|
1537 |
if (fbcon) { |
|
|
1538 |
radeon_fbdev_set_suspend(rdev, 0); |
1539 |
console_unlock(); |
1540 |
} |
1541 |
|
1542 |
/* init dig PHYs, disp eng pll */ |
1537 |
/* init dig PHYs, disp eng pll */ |
1543 |
if (rdev->is_atom_bios) { |
1538 |
if (rdev->is_atom_bios) { |
1544 |
radeon_atom_encoder_init(rdev); |
1539 |
radeon_atom_encoder_init(rdev); |
Lines 1563-1568
int radeon_resume_kms(struct drm_device *dev, bool resume, bool fbcon)
Link Here
|
1563 |
} |
1558 |
} |
1564 |
|
1559 |
|
1565 |
drm_kms_helper_poll_enable(dev); |
1560 |
drm_kms_helper_poll_enable(dev); |
|
|
1561 |
|
1562 |
if (fbcon) { |
1563 |
radeon_fbdev_set_suspend(rdev, 0); |
1564 |
console_unlock(); |
1565 |
} |
1566 |
|
1566 |
return 0; |
1567 |
return 0; |
1567 |
} |
1568 |
} |
1568 |
|
1569 |
|