diff options
Diffstat (limited to 'drivers/gpu/drm/radeon/rs400.c')
-rw-r--r-- | drivers/gpu/drm/radeon/rs400.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/gpu/drm/radeon/rs400.c b/drivers/gpu/drm/radeon/rs400.c index f1de558aeb39..2e5b9450a804 100644 --- a/drivers/gpu/drm/radeon/rs400.c +++ b/drivers/gpu/drm/radeon/rs400.c | |||
@@ -491,10 +491,9 @@ int rs400_init(struct radeon_device *rdev) | |||
491 | RREG32(R_0007C0_CP_STAT)); | 491 | RREG32(R_0007C0_CP_STAT)); |
492 | } | 492 | } |
493 | /* check if cards are posted or not */ | 493 | /* check if cards are posted or not */ |
494 | if (!radeon_card_posted(rdev) && rdev->bios) { | 494 | if (radeon_boot_test_post_card(rdev) == false) |
495 | DRM_INFO("GPU not posted. posting now...\n"); | 495 | return -EINVAL; |
496 | radeon_combios_asic_init(rdev->ddev); | 496 | |
497 | } | ||
498 | /* Initialize clocks */ | 497 | /* Initialize clocks */ |
499 | radeon_get_clock_info(rdev->ddev); | 498 | radeon_get_clock_info(rdev->ddev); |
500 | /* Get vram informations */ | 499 | /* Get vram informations */ |