aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0505-drm-amdgpu-double-fence-slot.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0505-drm-amdgpu-double-fence-slot.patch')
-rw-r--r--common/recipes-kernel/linux/files/0505-drm-amdgpu-double-fence-slot.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/common/recipes-kernel/linux/files/0505-drm-amdgpu-double-fence-slot.patch b/common/recipes-kernel/linux/files/0505-drm-amdgpu-double-fence-slot.patch
deleted file mode 100644
index 2b550c41..00000000
--- a/common/recipes-kernel/linux/files/0505-drm-amdgpu-double-fence-slot.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From b45931bb92fb4841a60e7bee9532df4c01d71c50 Mon Sep 17 00:00:00 2001
-From: Chunming Zhou <David1.Zhou@amd.com>
-Date: Thu, 14 Apr 2016 10:27:28 +0800
-Subject: [PATCH 0505/1110] drm/amdgpu: double fence slot
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-we introduced vmid fence, so one hw submission could produce two fences.
-
-Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
-Reviewed-by: Christian König <christian.koenig@amd.com>
-Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
-index 100f4c6..50e95ab 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
-@@ -352,9 +352,9 @@ int amdgpu_fence_driver_init_ring(struct amdgpu_ring *ring,
- setup_timer(&ring->fence_drv.fallback_timer, amdgpu_fence_fallback,
- (unsigned long)ring);
-
-- ring->fence_drv.num_fences_mask = num_hw_submission - 1;
-+ ring->fence_drv.num_fences_mask = num_hw_submission * 2 - 1;
- spin_lock_init(&ring->fence_drv.lock);
-- ring->fence_drv.fences = kcalloc(num_hw_submission, sizeof(void *),
-+ ring->fence_drv.fences = kcalloc(num_hw_submission * 2, sizeof(void *),
- GFP_KERNEL);
- if (!ring->fence_drv.fences)
- return -ENOMEM;
---
-2.7.4
-