aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_device.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index dfe3cdc4efed..4132e4ef9f83 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -636,31 +636,6 @@ bool amdgpu_card_posted(struct amdgpu_device *adev)
636} 636}
637 637
638/** 638/**
639 * amdgpu_boot_test_post_card - check and possibly initialize the hw
640 *
641 * @adev: amdgpu_device pointer
642 *
643 * Check if the asic is initialized and if not, attempt to initialize
644 * it (all asics).
645 * Returns true if initialized or false if not.
646 */
647bool amdgpu_boot_test_post_card(struct amdgpu_device *adev)
648{
649 if (amdgpu_card_posted(adev))
650 return true;
651
652 if (adev->bios) {
653 DRM_INFO("GPU not posted. posting now...\n");
654 if (adev->is_atom_bios)
655 amdgpu_atom_asic_init(adev->mode_info.atom_context);
656 return true;
657 } else {
658 dev_err(adev->dev, "Card not posted and no BIOS - ignoring\n");
659 return false;
660 }
661}
662
663/**
664 * amdgpu_dummy_page_init - init dummy page used by the driver 639 * amdgpu_dummy_page_init - init dummy page used by the driver
665 * 640 *
666 * @adev: amdgpu_device pointer 641 * @adev: amdgpu_device pointer