summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2016-02-03 15:11:39 +0100
committerAlex Deucher <alexander.deucher@amd.com>2016-02-10 14:17:17 -0500
commit8a8f0b48a0162c449481ae91ba2ef51b6539f41c (patch)
tree42cbf9dd8934dc85afe7283962a2103ce0351932 /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
parentcc325d1913475655b81c0417ba04c84f168ac78c (diff)
downloadblackbird-obmc-linux-8a8f0b48a0162c449481ae91ba2ef51b6539f41c.tar.gz
blackbird-obmc-linux-8a8f0b48a0162c449481ae91ba2ef51b6539f41c.zip
drm/amdgpu: remove adev and fence from amdgpu_sync_free
Just leftovers from the 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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
index 1d348f8ae126..c15be00de904 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
@@ -240,15 +240,11 @@ int amdgpu_sync_wait(struct amdgpu_sync *sync)
/**
* amdgpu_sync_free - free the sync object
*
- * @adev: amdgpu_device pointer
* @sync: sync object to use
- * @fence: fence to use for the free
*
* Free the sync object.
*/
-void amdgpu_sync_free(struct amdgpu_device *adev,
- struct amdgpu_sync *sync,
- struct fence *fence)
+void amdgpu_sync_free(struct amdgpu_sync *sync)
{
struct amdgpu_sync_entry *e;
struct hlist_node *tmp;
OpenPOWER on IntegriCloud