aboutsummaryrefslogtreecommitdiffstats
path: root/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1372-drm-amdgpu-Enable-BIF-5.0-atomic-promotion-to-PCIe-3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1372-drm-amdgpu-Enable-BIF-5.0-atomic-promotion-to-PCIe-3.patch')
-rw-r--r--meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1372-drm-amdgpu-Enable-BIF-5.0-atomic-promotion-to-PCIe-3.patch45
1 files changed, 0 insertions, 45 deletions
diff --git a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1372-drm-amdgpu-Enable-BIF-5.0-atomic-promotion-to-PCIe-3.patch b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1372-drm-amdgpu-Enable-BIF-5.0-atomic-promotion-to-PCIe-3.patch
deleted file mode 100644
index 291ef8e7..00000000
--- a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1372-drm-amdgpu-Enable-BIF-5.0-atomic-promotion-to-PCIe-3.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From 1db401aab0a54eba45131c79fb1b795ab499c36c Mon Sep 17 00:00:00 2001
-From: Jay Cornwall <jay@jcornwall.me>
-Date: Fri, 28 Aug 2015 11:25:39 -0500
-Subject: [PATCH 1372/4131] drm/amdgpu: Enable BIF 5.0 atomic promotion to PCIe
- 3.0 AtomicOps
-
-Atomic operations to system memory are normally dropped by the BIF.
-Some PCIe 3.0 platforms support atomic routing to the host for execution
-by the CPU. To use this feature, atomic requests must be enabled in the
-GPU's PCIe configuration space.
-
-This is a no-op on platforms which cannot route the atomic request to
-the host. In this instance, atomics would be dropped with or without
-this change.
-
-Signed-off-by: Jay Cornwall <jay@jcornwall.me>
-Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-Acked-by: John Bridgman <john.bridgman@amd.com>
-
- Conflicts:
- drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
-
-Change-Id: I69f0b9b616ce4b1e7e09f069cc10a110d49d7c64
----
- drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
-index 114671b..3b54e9a 100644
---- a/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
-+++ b/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
-@@ -1136,6 +1136,10 @@ static int gmc_v8_0_sw_init(void *handle)
- adev->vm_manager.vram_base_offset = 0;
- }
-
-+ /* Allow BIF to recode atomics to PCIe 3.0 AtomicOps.
-+ */
-+ pci_enable_atomic_request(adev->pdev);
-+
- return 0;
- }
-
---
-2.7.4
-