aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0249-drm-amdgpu-remove-nonsense-IB-size-checks.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0249-drm-amdgpu-remove-nonsense-IB-size-checks.patch')
-rw-r--r--common/recipes-kernel/linux/files/0249-drm-amdgpu-remove-nonsense-IB-size-checks.patch47
1 files changed, 0 insertions, 47 deletions
diff --git a/common/recipes-kernel/linux/files/0249-drm-amdgpu-remove-nonsense-IB-size-checks.patch b/common/recipes-kernel/linux/files/0249-drm-amdgpu-remove-nonsense-IB-size-checks.patch
deleted file mode 100644
index 7ff90e52..00000000
--- a/common/recipes-kernel/linux/files/0249-drm-amdgpu-remove-nonsense-IB-size-checks.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From 26d0a0a1552aa345de6c65e39d1033cf1de4bc5b Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Christian=20K=C3=B6nig?= <christian.koenig@amd.com>
-Date: Mon, 25 Jan 2016 17:06:09 +0100
-Subject: [PATCH 0249/1110] drm/amdgpu: remove nonsense IB size checks
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Those are just leftovers from the time we wrote the VM
-updates directly to the ring.
-
-Signed-off-by: Christian K├Ânig <christian.koenig@amd.com>
-Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 8 --------
- 1 file changed, 8 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
-index 796fe49..9f3a8d9 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
-@@ -441,10 +441,6 @@ int amdgpu_vm_update_page_directory(struct amdgpu_device *adev,
- /* assume the worst case */
- ndw += vm->max_pde_used * 6;
-
-- /* update too big for an IB */
-- if (ndw > 0xfffff)
-- return -ENOMEM;
--
- ib = kzalloc(sizeof(struct amdgpu_ib), GFP_KERNEL);
- if (!ib)
- return -ENOMEM;
-@@ -750,10 +746,6 @@ static int amdgpu_vm_bo_update_mapping(struct amdgpu_device *adev,
- ndw += 2 * 10;
- }
-
-- /* update too big for an IB */
-- if (ndw > 0xfffff)
-- return -ENOMEM;
--
- ib = kzalloc(sizeof(struct amdgpu_ib), GFP_KERNEL);
- if (!ib)
- return -ENOMEM;
---
-2.7.4
-