diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0354-drm-amdgpu-remove-amdgpu_fence_recreate.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0354-drm-amdgpu-remove-amdgpu_fence_recreate.patch | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/common/recipes-kernel/linux/files/0354-drm-amdgpu-remove-amdgpu_fence_recreate.patch b/common/recipes-kernel/linux/files/0354-drm-amdgpu-remove-amdgpu_fence_recreate.patch deleted file mode 100644 index 259e234a..00000000 --- a/common/recipes-kernel/linux/files/0354-drm-amdgpu-remove-amdgpu_fence_recreate.patch +++ /dev/null @@ -1,77 +0,0 @@ -From 0753b45242059f523a6238ec2741a4436db2fbd0 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Christian=20K=C3=B6nig?= <christian.koenig@amd.com> -Date: Tue, 7 Jul 2015 18:44:01 +0200 -Subject: [PATCH 0354/1050] drm/amdgpu: remove amdgpu_fence_recreate -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -It's not used any more. - -Signed-off-by: Christian König <christian.koenig@amd.com> -Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com> -Reviewed-by: Chunming Zhou <david1.zhou@amd.com> ---- - drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 -- - drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 32 ------------------------------- - 2 files changed, 34 deletions(-) - -diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h -index 0220d98..4e81247 100644 ---- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h -+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h -@@ -429,8 +429,6 @@ int amdgpu_fence_driver_start_ring(struct amdgpu_ring *ring, - unsigned irq_type); - int amdgpu_fence_emit(struct amdgpu_ring *ring, void *owner, - struct amdgpu_fence **fence); --int amdgpu_fence_recreate(struct amdgpu_ring *ring, void *owner, -- uint64_t seq, struct amdgpu_fence **fence); - void amdgpu_fence_process(struct amdgpu_ring *ring); - int amdgpu_fence_wait_next(struct amdgpu_ring *ring); - int amdgpu_fence_wait_empty(struct amdgpu_ring *ring); -diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c -index a7189a1..e3629c9 100644 ---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c -+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c -@@ -136,38 +136,6 @@ int amdgpu_fence_emit(struct amdgpu_ring *ring, void *owner, - } - - /** -- * amdgpu_fence_recreate - recreate a fence from an user fence -- * -- * @ring: ring the fence is associated with -- * @owner: creator of the fence -- * @seq: user fence sequence number -- * @fence: resulting amdgpu fence object -- * -- * Recreates a fence command from the user fence sequence number (all asics). -- * Returns 0 on success, -ENOMEM on failure. -- */ --int amdgpu_fence_recreate(struct amdgpu_ring *ring, void *owner, -- uint64_t seq, struct amdgpu_fence **fence) --{ -- struct amdgpu_device *adev = ring->adev; -- -- if (seq > ring->fence_drv.sync_seq[ring->idx]) -- return -EINVAL; -- -- *fence = kmalloc(sizeof(struct amdgpu_fence), GFP_KERNEL); -- if ((*fence) == NULL) -- return -ENOMEM; -- -- (*fence)->seq = seq; -- (*fence)->ring = ring; -- (*fence)->owner = owner; -- fence_init(&(*fence)->base, &amdgpu_fence_ops, -- &adev->fence_queue.lock, adev->fence_context + ring->idx, -- (*fence)->seq); -- return 0; --} -- --/** - * amdgpu_fence_check_signaled - callback from fence_queue - * - * this function is called with fence_queue lock held, which is also used --- -1.9.1 - |