|
@@ -301,14 +301,9 @@ int r420_init(struct radeon_device *rdev)
|
|
|
RREG32(R_0007C0_CP_STAT));
|
|
|
}
|
|
|
/* check if cards are posted or not */
|
|
|
- if (!radeon_card_posted(rdev) && rdev->bios) {
|
|
|
- DRM_INFO("GPU not posted. posting now...\n");
|
|
|
- if (rdev->is_atom_bios) {
|
|
|
- atom_asic_init(rdev->mode_info.atom_context);
|
|
|
- } else {
|
|
|
- radeon_combios_asic_init(rdev->ddev);
|
|
|
- }
|
|
|
- }
|
|
|
+ if (radeon_boot_test_post_card(rdev) == false)
|
|
|
+ return -EINVAL;
|
|
|
+
|
|
|
/* Initialize clocks */
|
|
|
radeon_get_clock_info(rdev->ddev);
|
|
|
/* Initialize power management */
|