rv515.c (7e8f44f8d4fa9bb35e32c161fbcdbd6b9e6400e3) | rv515.c (72542d77058bd45ccafd1e15ed3c70349fe3277b) |
---|---|
1/* 2 * Copyright 2008 Advanced Micro Devices, Inc. 3 * Copyright 2008 Red Hat Inc. 4 * Copyright 2009 Jerome Glisse. 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a 7 * copy of this software and associated documentation files (the "Software"), 8 * to deal in the Software without restriction, including without limitation --- 566 unchanged lines hidden (view full) --- 575 /* Reset gpu before posting otherwise ATOM will enter infinite loop */ 576 if (radeon_gpu_reset(rdev)) { 577 dev_warn(rdev->dev, 578 "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", 579 RREG32(R_000E40_RBBM_STATUS), 580 RREG32(R_0007C0_CP_STAT)); 581 } 582 /* check if cards are posted or not */ | 1/* 2 * Copyright 2008 Advanced Micro Devices, Inc. 3 * Copyright 2008 Red Hat Inc. 4 * Copyright 2009 Jerome Glisse. 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a 7 * copy of this software and associated documentation files (the "Software"), 8 * to deal in the Software without restriction, including without limitation --- 566 unchanged lines hidden (view full) --- 575 /* Reset gpu before posting otherwise ATOM will enter infinite loop */ 576 if (radeon_gpu_reset(rdev)) { 577 dev_warn(rdev->dev, 578 "GPU reset failed ! (0xE40=0x%08X, 0x7C0=0x%08X)\n", 579 RREG32(R_000E40_RBBM_STATUS), 580 RREG32(R_0007C0_CP_STAT)); 581 } 582 /* check if cards are posted or not */ |
583 if (!radeon_card_posted(rdev) && rdev->bios) { 584 DRM_INFO("GPU not posted. posting now...\n"); 585 atom_asic_init(rdev->mode_info.atom_context); 586 } | 583 if (radeon_boot_test_post_card(rdev) == false) 584 return -EINVAL; |
587 /* Initialize clocks */ 588 radeon_get_clock_info(rdev->ddev); 589 /* Initialize power management */ 590 radeon_pm_init(rdev); 591 /* Get vram informations */ 592 rv515_vram_info(rdev); 593 /* Initialize memory controller (also test AGP) */ 594 r = r420_mc_init(rdev); --- 584 unchanged lines hidden --- | 585 /* Initialize clocks */ 586 radeon_get_clock_info(rdev->ddev); 587 /* Initialize power management */ 588 radeon_pm_init(rdev); 589 /* Get vram informations */ 590 rv515_vram_info(rdev); 591 /* Initialize memory controller (also test AGP) */ 592 r = r420_mc_init(rdev); --- 584 unchanged lines hidden --- |