diff options
author | Oded Gabbay <oded.gabbay@amd.com> | 2014-11-20 08:50:53 -0500 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@amd.com> | 2014-11-20 08:50:53 -0500 |
commit | 20981e68010c66187450b4a5a78b56b99d1f6f59 (patch) | |
tree | 46341f24779416fa281c6f0740782d7a4940889c /drivers/gpu/drm/amd/amdkfd | |
parent | 585dbf3842a37149410932f5fac2bfe68b9d86c4 (diff) |
amdkfd: is_occupied() 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/amdkfd')
-rw-r--r-- | drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c b/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c index 59d240719a08..adc31474e786 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c +++ b/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c | |||
@@ -179,9 +179,9 @@ static int destroy_mqd(struct mqd_manager *mm, void *mqd, | |||
179 | pipe_id, queue_id); | 179 | pipe_id, queue_id); |
180 | } | 180 | } |
181 | 181 | ||
182 | bool is_occupied(struct mqd_manager *mm, void *mqd, | 182 | static bool is_occupied(struct mqd_manager *mm, void *mqd, |
183 | uint64_t queue_address, uint32_t pipe_id, | 183 | uint64_t queue_address, uint32_t pipe_id, |
184 | uint32_t queue_id) | 184 | uint32_t queue_id) |
185 | { | 185 | { |
186 | 186 | ||
187 | return kfd2kgd->hqd_is_occupies(mm->dev->kgd, queue_address, | 187 | return kfd2kgd->hqd_is_occupies(mm->dev->kgd, queue_address, |