aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0263-drm-amdgpu-gmc8-skip-MC-ucode-loading-on-SR-IOV-capa.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0263-drm-amdgpu-gmc8-skip-MC-ucode-loading-on-SR-IOV-capa.patch')
-rw-r--r--common/recipes-kernel/linux/files/0263-drm-amdgpu-gmc8-skip-MC-ucode-loading-on-SR-IOV-capa.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/common/recipes-kernel/linux/files/0263-drm-amdgpu-gmc8-skip-MC-ucode-loading-on-SR-IOV-capa.patch b/common/recipes-kernel/linux/files/0263-drm-amdgpu-gmc8-skip-MC-ucode-loading-on-SR-IOV-capa.patch
deleted file mode 100644
index 41c1a856..00000000
--- a/common/recipes-kernel/linux/files/0263-drm-amdgpu-gmc8-skip-MC-ucode-loading-on-SR-IOV-capa.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 0e236101475d1cc881d0ed01a672906cba6af527 Mon Sep 17 00:00:00 2001
-From: Alex Deucher <alexander.deucher@amd.com>
-Date: Mon, 1 Feb 2016 11:29:54 -0500
-Subject: [PATCH 0263/1110] drm/amdgpu/gmc8: skip MC ucode loading on SR-IOV
- capable boards
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-VBIOS does this for us in asic_init.
-
-Reviewed-by: Monk Liu <monk.liu@amd.com>
-Reviewed-by: Christian König <christian.koenig@amd.com>
-Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 6 ++++++
- 1 file changed, 6 insertions(+)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
-index 009fe5f..b410c32 100644
---- a/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
-+++ b/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
-@@ -252,6 +252,12 @@ static int gmc_v8_0_mc_load_microcode(struct amdgpu_device *adev)
- if (!adev->mc.fw)
- return -EINVAL;
-
-+ /* Skip MC ucode loading on SR-IOV capable boards.
-+ * vbios does this for us in asic_init in that case.
-+ */
-+ if (adev->virtualization.supports_sr_iov)
-+ return 0;
-+
- hdr = (const struct mc_firmware_header_v1_0 *)adev->mc.fw->data;
- amdgpu_ucode_print_mc_hdr(&hdr->header);
-
---
-2.7.4
-