summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd
diff options
context:
space:
mode:
authorOded Gabbay <oded.gabbay@amd.com>2014-11-20 15:54:05 +0200
committerOded Gabbay <oded.gabbay@amd.com>2014-11-20 15:54:05 +0200
commitd80d19bd5064692d40e9190ebadbd381f20d2969 (patch)
tree6a18c7830e7736a467b22f44dc155b1645414cf0 /drivers/gpu/drm/amd
parent20981e68010c66187450b4a5a78b56b99d1f6f59 (diff)
downloadop-kernel-dev-d80d19bd5064692d40e9190ebadbd381f20d2969.zip
op-kernel-dev-d80d19bd5064692d40e9190ebadbd381f20d2969.tar.gz
amdkfd: fence_wait_timeout() can be static
Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd')
-rw-r--r--drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
index 8c40d04..718f50e8 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
@@ -789,8 +789,9 @@ out:
return retval;
}
-int fence_wait_timeout(unsigned int *fence_addr, unsigned int fence_value,
- unsigned long timeout)
+static int fence_wait_timeout(unsigned int *fence_addr,
+ unsigned int fence_value,
+ unsigned long timeout)
{
BUG_ON(!fence_addr);
timeout += jiffies;
OpenPOWER on IntegriCloud