aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0265-drm-amdgpu-fix-size-estimation-for-clear-IB.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0265-drm-amdgpu-fix-size-estimation-for-clear-IB.patch')
-rw-r--r--common/recipes-kernel/linux/files/0265-drm-amdgpu-fix-size-estimation-for-clear-IB.patch42
1 files changed, 0 insertions, 42 deletions
diff --git a/common/recipes-kernel/linux/files/0265-drm-amdgpu-fix-size-estimation-for-clear-IB.patch b/common/recipes-kernel/linux/files/0265-drm-amdgpu-fix-size-estimation-for-clear-IB.patch
deleted file mode 100644
index 95ff9ab7..00000000
--- a/common/recipes-kernel/linux/files/0265-drm-amdgpu-fix-size-estimation-for-clear-IB.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From 6f4f75e5e240c3eebdaaa6e00b2e228f7d782673 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Christian=20K=C3=B6nig?= <christian.koenig@amd.com>
-Date: Wed, 3 Feb 2016 22:39:01 +0100
-Subject: [PATCH 0265/1110] drm/amdgpu: fix size estimation for clear IB
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-We only need a few dw here.
-
-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 | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
-index 83bc8b1..6512386 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
-@@ -362,15 +362,15 @@ static int amdgpu_vm_clear_bo(struct amdgpu_device *adev,
- if (!ib)
- goto error;
-
-- r = amdgpu_ib_get(ring, NULL, entries * 2 + 64, ib);
-+ r = amdgpu_ib_get(ring, NULL, 64, ib);
- if (r)
- goto error_free;
-
- ib->length_dw = 0;
-
- amdgpu_vm_update_pages(adev, NULL, 0, ib, addr, 0, entries, 0, 0);
--
- amdgpu_vm_pad_ib(adev, ib);
-+
- WARN_ON(ib->length_dw > 64);
- r = amdgpu_sched_ib_submit_kernel_helper(adev, ring, ib, 1,
- &amdgpu_vm_free_job,
---
-2.7.4
-