diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2016-02-01 11:18:30 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-02-10 14:17:10 -0500 |
commit | 383b6f608b88315f81ffd09cfed2ab7c633b1ec9 (patch) | |
tree | f8ae10b2a006af9582448b923f377051ebc4e444 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | 25030321ba2860c56651429a4f28d94a6483d952 (diff) |
drm/amdgpu: remove unused function
amdgpu_boot_test_post_card() is not used anywhere. Probably
a leftover from the original port from radeon.
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Tom St Denis <tom.stdenis@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 25 |
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 | */ | ||
647 | bool 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 |