aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0402-drm-amdgpu-drop-the-extra-fence-range-check-v2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0402-drm-amdgpu-drop-the-extra-fence-range-check-v2.patch')
-rw-r--r--common/recipes-kernel/linux/files/0402-drm-amdgpu-drop-the-extra-fence-range-check-v2.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/common/recipes-kernel/linux/files/0402-drm-amdgpu-drop-the-extra-fence-range-check-v2.patch b/common/recipes-kernel/linux/files/0402-drm-amdgpu-drop-the-extra-fence-range-check-v2.patch
deleted file mode 100644
index 703409f6..00000000
--- a/common/recipes-kernel/linux/files/0402-drm-amdgpu-drop-the-extra-fence-range-check-v2.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From 552c4f34713282ab51ecd042ae79926d94d7c1ea Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Christian=20K=C3=B6nig?= <christian.koenig@amd.com>
-Date: Mon, 14 Mar 2016 14:49:33 +0100
-Subject: [PATCH 0402/1110] drm/amdgpu: drop the extra fence range check v2
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Amdgpu doesn't support using scratch registers for fences any more.
-So we won't see values like 0xdeadbeef as fence value any more.
-
-v2: reschedule timer even if no change detected
-
-Signed-off-by: Christian K├Ânig <christian.koenig@amd.com>
-Acked-by: Alex Deucher <alexander.deucher@amd.com>
-Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 3 ---
- 1 file changed, 3 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
-index c5980c4..fa4eabe 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
-@@ -190,9 +190,6 @@ void amdgpu_fence_process(struct amdgpu_ring *ring)
- seq |= last_emitted & 0xffffffff00000000LL;
- }
-
-- if (seq <= last_seq || seq > last_emitted)
-- return;
--
- } while (atomic64_cmpxchg(&drv->last_seq, last_seq, seq) != last_seq);
-
- if (seq < last_emitted)
---
-2.7.4
-