diff options
author | Christian König <christian.koenig@amd.com> | 2015-08-06 17:49:25 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-08-17 16:51:08 -0400 |
commit | 3cdb8119d95411ddbca9f9af13b72e4afce6e6d2 (patch) | |
tree | 53809292e4bfd4f4f3f955f786decf2dfffc18cd /drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | |
parent | f556cb0caeec1ba9b8e5e2aa85b47e76277f5d4b (diff) | |
download | blackbird-op-linux-3cdb8119d95411ddbca9f9af13b72e4afce6e6d2.tar.gz blackbird-op-linux-3cdb8119d95411ddbca9f9af13b72e4afce6e6d2.zip |
drm/amdgpu: remove amdgpu_fence_signaled
The common kernel function does the same thing.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c index eb419791d1b2..5a2a15cf1a7c 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c @@ -425,28 +425,6 @@ static bool amdgpu_fence_enable_signaling(struct fence *f) return true; } -/** - * amdgpu_fence_signaled - check if a fence has signaled - * - * @fence: amdgpu fence object - * - * Check if the requested fence has signaled (all asics). - * Returns true if the fence has signaled or false if it has not. - */ -bool amdgpu_fence_signaled(struct amdgpu_fence *fence) -{ - if (!fence) - return true; - - if (amdgpu_fence_seq_signaled(fence->ring, fence->seq)) { - if (!fence_signal(&fence->base)) - FENCE_TRACE(&fence->base, "signaled from amdgpu_fence_signaled\n"); - return true; - } - - return false; -} - /* * amdgpu_ring_wait_seq_timeout - wait for seq of the specific ring to signal * @ring: ring to wait on for the seq number |