summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
diff options
context:
space:
mode:
authorEdward O'Callaghan2016-09-17 07:01:45 +0200
committerOded Gabbay2016-09-19 19:58:35 +0200
commite88a614c403573e861f82c063d8aee25cf109f17 (patch)
treeb7403b9048c1ceb4fcf2292fd827aeea482f0107 /drivers/gpu/drm/amd/amdkfd/kfd_priv.h
parentdrm/amdkfd: Unify multiple calls to pr_debug() into one (diff)
downloadkernel-qcow2-linux-e88a614c403573e861f82c063d8aee25cf109f17.tar.gz
kernel-qcow2-linux-e88a614c403573e861f82c063d8aee25cf109f17.tar.xz
kernel-qcow2-linux-e88a614c403573e861f82c063d8aee25cf109f17.zip
drm/amdkfd: Pass 'struct queue_propertices' by reference
Allow init_queue() to take 'struct queue_properties' by reference. Signed-off-by: Edward O'Callaghan <funfunctor@folklore1984.net> Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/kfd_priv.h')
-rw-r--r--drivers/gpu/drm/amd/amdkfd/kfd_priv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_priv.h b/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
index 80113c335966..4750cabe4252 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
@@ -619,7 +619,7 @@ int kfd_init_apertures(struct kfd_process *process);
/* Queue Context Management */
struct cik_sdma_rlc_registers *get_sdma_mqd(void *mqd);
-int init_queue(struct queue **q, struct queue_properties properties);
+int init_queue(struct queue **q, const struct queue_properties *properties);
void uninit_queue(struct queue *q);
void print_queue_properties(struct queue_properties *q);
void print_queue(struct queue *q);