projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
585dbf3
)
amdkfd: is_occupied() can be static
author
Oded Gabbay
<oded.gabbay@amd.com>
Thu, 20 Nov 2014 13:50:53 +0000
(15:50 +0200)
committer
Oded Gabbay
<oded.gabbay@amd.com>
Thu, 20 Nov 2014 13:50:53 +0000
(15:50 +0200)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c
b/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c
index 59d240719a084ab81e42b7ee14a92e653b289a3e..adc31474e786195bb3308150334c5a7a280f1d81 100644
(file)
--- 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,
pipe_id, queue_id);
}
-bool is_occupied(struct mqd_manager *mm, void *mqd,
- uint64_t queue_address, uint32_t pipe_id,
- uint32_t queue_id)
+
static
bool is_occupied(struct mqd_manager *mm, void *mqd,
+
uint64_t queue_address, uint32_t pipe_id,
+
uint32_t queue_id)
{
return kfd2kgd->hqd_is_occupies(mm->dev->kgd, queue_address,