aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0271-drm-amdgpu-remove-AMDGPU_NUM_SYNCS.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0271-drm-amdgpu-remove-AMDGPU_NUM_SYNCS.patch')
-rw-r--r--common/recipes-kernel/linux/files/0271-drm-amdgpu-remove-AMDGPU_NUM_SYNCS.patch48
1 files changed, 0 insertions, 48 deletions
diff --git a/common/recipes-kernel/linux/files/0271-drm-amdgpu-remove-AMDGPU_NUM_SYNCS.patch b/common/recipes-kernel/linux/files/0271-drm-amdgpu-remove-AMDGPU_NUM_SYNCS.patch
deleted file mode 100644
index 1ce614d5..00000000
--- a/common/recipes-kernel/linux/files/0271-drm-amdgpu-remove-AMDGPU_NUM_SYNCS.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-From c7ae5f8fef765bd3b1f4c4b7b5316fd5643554f2 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Christian=20K=C3=B6nig?= <christian.koenig@amd.com>
-Date: Wed, 3 Feb 2016 15:12:58 +0100
-Subject: [PATCH 0271/1110] drm/amdgpu: remove AMDGPU_NUM_SYNCS
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Just a leftover from semaphores.
-
-Signed-off-by: Christian König <christian.koenig@amd.com>
-Reviewed-by: Alex Deucher <alexander.deucer@amd.com>
-Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 3 ---
- drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 2 +-
- 2 files changed, 1 insertion(+), 4 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
-index 7be8689..e4f6069 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
-@@ -106,9 +106,6 @@ extern unsigned amdgpu_pcie_lane_cap;
- /* max number of IP instances */
- #define AMDGPU_MAX_SDMA_INSTANCES 2
-
--/* number of hw syncs before falling back on blocking */
--#define AMDGPU_NUM_SYNCS 4
--
- /* hardcode that limit for now */
- #define AMDGPU_VA_RESERVED_SIZE (8 << 20)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
-index d7cd408..b673770 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
-@@ -147,7 +147,7 @@ int amdgpu_ib_schedule(struct amdgpu_device *adev, unsigned num_ibs,
- return -EINVAL;
- }
-
-- r = amdgpu_ring_alloc(ring, (256 + AMDGPU_NUM_SYNCS * 8) * num_ibs);
-+ r = amdgpu_ring_alloc(ring, 256 * num_ibs);
- if (r) {
- dev_err(adev->dev, "scheduling IB failed (%d).\n", r);
- return r;
---
-2.7.4
-