aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0403-drm-amdgpu-remove-amdgpu_fence_is_signaled.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0403-drm-amdgpu-remove-amdgpu_fence_is_signaled.patch')
-rw-r--r--common/recipes-kernel/linux/files/0403-drm-amdgpu-remove-amdgpu_fence_is_signaled.patch64
1 files changed, 0 insertions, 64 deletions
diff --git a/common/recipes-kernel/linux/files/0403-drm-amdgpu-remove-amdgpu_fence_is_signaled.patch b/common/recipes-kernel/linux/files/0403-drm-amdgpu-remove-amdgpu_fence_is_signaled.patch
deleted file mode 100644
index 38ed059c..00000000
--- a/common/recipes-kernel/linux/files/0403-drm-amdgpu-remove-amdgpu_fence_is_signaled.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-From c26ad03b21c26443b153c564d4afbeb092341772 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Christian=20K=C3=B6nig?= <christian.koenig@amd.com>
-Date: Mon, 14 Mar 2016 15:23:11 +0100
-Subject: [PATCH 0403/1110] drm/amdgpu: remove amdgpu_fence_is_signaled
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-It's just overhead to check the fence value
-when we signal them directly anyway.
-
-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 | 25 -------------------------
- 1 file changed, 25 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
-index fa4eabe..da9a155 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
-@@ -547,30 +547,6 @@ static const char *amdgpu_fence_get_timeline_name(struct fence *f)
- }
-
- /**
-- * amdgpu_fence_is_signaled - test if fence is signaled
-- *
-- * @f: fence to test
-- *
-- * Test the fence sequence number if it is already signaled. If it isn't
-- * signaled start fence processing. Returns True if the fence is signaled.
-- */
--static bool amdgpu_fence_is_signaled(struct fence *f)
--{
-- struct amdgpu_fence *fence = to_amdgpu_fence(f);
-- struct amdgpu_ring *ring = fence->ring;
--
-- if (atomic64_read(&ring->fence_drv.last_seq) >= fence->seq)
-- return true;
--
-- amdgpu_fence_process(ring);
--
-- if (atomic64_read(&ring->fence_drv.last_seq) >= fence->seq)
-- return true;
--
-- return false;
--}
--
--/**
- * amdgpu_fence_enable_signaling - enable signalling on fence
- * @fence: fence
- *
-@@ -622,7 +598,6 @@ static const struct fence_ops amdgpu_fence_ops = {
- .get_driver_name = amdgpu_fence_get_driver_name,
- .get_timeline_name = amdgpu_fence_get_timeline_name,
- .enable_signaling = amdgpu_fence_enable_signaling,
-- .signaled = amdgpu_fence_is_signaled,
- .wait = fence_default_wait,
- .release = amdgpu_fence_release,
- };
---
-2.7.4
-