aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0902-drm-amdgpu-no-need-to-load-MC-firmware-on-fiji.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0902-drm-amdgpu-no-need-to-load-MC-firmware-on-fiji.patch')
-rw-r--r--common/recipes-kernel/linux/files/0902-drm-amdgpu-no-need-to-load-MC-firmware-on-fiji.patch48
1 files changed, 0 insertions, 48 deletions
diff --git a/common/recipes-kernel/linux/files/0902-drm-amdgpu-no-need-to-load-MC-firmware-on-fiji.patch b/common/recipes-kernel/linux/files/0902-drm-amdgpu-no-need-to-load-MC-firmware-on-fiji.patch
deleted file mode 100644
index 5d3f1c8e..00000000
--- a/common/recipes-kernel/linux/files/0902-drm-amdgpu-no-need-to-load-MC-firmware-on-fiji.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-From 4bd849d1ac90bf3bcf4a88dcb7d1b2bb20f18f4d Mon Sep 17 00:00:00 2001
-From: Alex Deucher <alexander.deucher@amd.com>
-Date: Thu, 28 Jan 2016 16:27:41 -0500
-Subject: [PATCH 0902/1565] drm/amdgpu: no need to load MC firmware on fiji
-
-Vbios does this for us on asic_init.
-
-Reviewed-by: Ken Wang >Qingqing.Wang@amd.com>
-Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-Cc: stable@vger.kernel.org
----
- drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 6 ++----
- 1 file changed, 2 insertions(+), 4 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
-index c0c9a01..875a5e9 100644
---- a/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
-+++ b/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
-@@ -44,7 +44,6 @@ static void gmc_v8_0_set_irq_funcs(struct amdgpu_device *adev);
-
- MODULE_FIRMWARE("amdgpu/topaz_mc.bin");
- MODULE_FIRMWARE("amdgpu/tonga_mc.bin");
--MODULE_FIRMWARE("amdgpu/fiji_mc.bin");
-
- static const u32 golden_settings_tonga_a11[] =
- {
-@@ -236,8 +235,6 @@ static int gmc_v8_0_init_microcode(struct amdgpu_device *adev)
- chip_name = "tonga";
- break;
- case CHIP_FIJI:
-- chip_name = "fiji";
-- break;
- case CHIP_CARRIZO:
- case CHIP_STONEY:
- return 0;
-@@ -1007,7 +1004,8 @@ static int gmc_v8_0_hw_init(void *handle)
-
- gmc_v8_0_mc_program(adev);
-
-- if (!(adev->flags & AMD_IS_APU)) {
-+ if ((adev->asic_type == CHIP_TOPAZ) ||
-+ (adev->asic_type == CHIP_TONGA)) {
- r = gmc_v8_0_mc_load_microcode(adev);
- if (r) {
- DRM_ERROR("Failed to load MC firmware!\n");
---
-1.9.1
-