aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0259-drm-amdgpu-remove-unused-function.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0259-drm-amdgpu-remove-unused-function.patch')
-rw-r--r--common/recipes-kernel/linux/files/0259-drm-amdgpu-remove-unused-function.patch70
1 files changed, 0 insertions, 70 deletions
diff --git a/common/recipes-kernel/linux/files/0259-drm-amdgpu-remove-unused-function.patch b/common/recipes-kernel/linux/files/0259-drm-amdgpu-remove-unused-function.patch
deleted file mode 100644
index 0fe5f929..00000000
--- a/common/recipes-kernel/linux/files/0259-drm-amdgpu-remove-unused-function.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-From cf997eaeedc31608efe81c8a1ee5af441bad0de1 Mon Sep 17 00:00:00 2001
-From: Alex Deucher <alexander.deucher@amd.com>
-Date: Mon, 1 Feb 2016 11:18:30 -0500
-Subject: [PATCH 0259/1110] drm/amdgpu: remove unused function
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-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>
----
- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 -
- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 25 -------------------------
- 2 files changed, 26 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
-index e134cfe..5d51ef2 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
-@@ -2306,7 +2306,6 @@ int amdgpu_gpu_reset(struct amdgpu_device *adev);
- void amdgpu_pci_config_reset(struct amdgpu_device *adev);
- bool amdgpu_card_posted(struct amdgpu_device *adev);
- void amdgpu_update_display_priority(struct amdgpu_device *adev);
--bool amdgpu_boot_test_post_card(struct amdgpu_device *adev);
-
- int amdgpu_cs_parser_init(struct amdgpu_cs_parser *p, void *data);
- int amdgpu_cs_get_ring(struct amdgpu_device *adev, u32 ip_type,
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
-index 4978262..4ba9ae4 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)
- }
-
- /**
-- * amdgpu_boot_test_post_card - check and possibly initialize the hw
-- *
-- * @adev: amdgpu_device pointer
-- *
-- * Check if the asic is initialized and if not, attempt to initialize
-- * it (all asics).
-- * Returns true if initialized or false if not.
-- */
--bool amdgpu_boot_test_post_card(struct amdgpu_device *adev)
--{
-- if (amdgpu_card_posted(adev))
-- return true;
--
-- if (adev->bios) {
-- DRM_INFO("GPU not posted. posting now...\n");
-- if (adev->is_atom_bios)
-- amdgpu_atom_asic_init(adev->mode_info.atom_context);
-- return true;
-- } else {
-- dev_err(adev->dev, "Card not posted and no BIOS - ignoring\n");
-- return false;
-- }
--}
--
--/**
- * amdgpu_dummy_page_init - init dummy page used by the driver
- *
- * @adev: amdgpu_device pointer
---
-2.7.4
-