aboutsummaryrefslogtreecommitdiffstats
path: root/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1437-drm-amdgpu-Remove-unnecessary-kmapping-of-HSA-GTT-BO.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1437-drm-amdgpu-Remove-unnecessary-kmapping-of-HSA-GTT-BO.patch')
-rw-r--r--meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1437-drm-amdgpu-Remove-unnecessary-kmapping-of-HSA-GTT-BO.patch45
1 files changed, 0 insertions, 45 deletions
diff --git a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1437-drm-amdgpu-Remove-unnecessary-kmapping-of-HSA-GTT-BO.patch b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1437-drm-amdgpu-Remove-unnecessary-kmapping-of-HSA-GTT-BO.patch
deleted file mode 100644
index 0759e148..00000000
--- a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1437-drm-amdgpu-Remove-unnecessary-kmapping-of-HSA-GTT-BO.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From f0be1c63c25b658f20a8b144e1c0bc5b14aeb30c Mon Sep 17 00:00:00 2001
-From: Felix Kuehling <Felix.Kuehling@amd.com>
-Date: Tue, 24 May 2016 17:07:01 -0400
-Subject: [PATCH 1437/4131] drm/amdgpu: Remove unnecessary kmapping of HSA GTT
- BOs
-
-Kmapping of all HSA GTT BOs is unnecessary and limits the maximum
-size of GTT BOs that can be mapped to 4GB.
-
-Change-Id: I2ed8eb7a4e5e2c9403c8ca2ce0530f0179db2694
-Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 9 ---------
- 1 file changed, 9 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
-index 6cf2ec2..a094aa4 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
-@@ -155,13 +155,6 @@ static int try_pin_bo(struct amdgpu_bo *bo, uint32_t domain)
- ret = amdgpu_bo_pin(bo, domain, NULL);
- if (ret != 0)
- goto error;
-- if (domain == AMDGPU_GEM_DOMAIN_GTT) {
-- ret = amdgpu_bo_kmap(bo, NULL);
-- if (ret != 0) {
-- pr_err("amdgpu: failed kmap GTT BO\n");
-- goto error;
-- }
-- }
- } else {
- /* amdgpu_bo_pin doesn't support userptr. Therefore we
- * can use the bo->pin_count for our version of
-@@ -186,8 +179,6 @@ static int unpin_bo(struct amdgpu_bo *bo)
- {
- int ret = 0;
-
-- amdgpu_bo_kunmap(bo);
--
- if (!amdgpu_ttm_tt_get_usermm(bo->tbo.ttm)) {
- ret = amdgpu_bo_unpin(bo);
- if (ret != 0)
---
-2.7.4
-