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:
50dad5f
)
drm/amdkfd: pass queue's mqd when destroying mqd
author
Oded Gabbay
<oded.gabbay@gmail.com>
Sat, 2 Sep 2017 12:00:25 +0000
(15:00 +0300)
committer
Oded Gabbay
<oded.gabbay@gmail.com>
Sat, 2 Sep 2017 12:00:25 +0000
(15:00 +0300)
In VI, the destroy mqd function needs to inquire fields present in the mqd
structure. That's why we need to pass it to that function instead of NULL.
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c
b/drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c
index 681b639f51330b78af84854880cae988fd90b252..0649dd43e7806e28bbd84d35ea56c0e70506e292 100644
(file)
--- a/
drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c
+++ b/
drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c
@@
-183,7
+183,7
@@
static void uninitialize(struct kernel_queue *kq)
{
if (kq->queue->properties.type == KFD_QUEUE_TYPE_HIQ)
kq->mqd->destroy_mqd(kq->mqd,
-
NULL
,
+
kq->queue->mqd
,
false,
QUEUE_PREEMPT_DEFAULT_TIMEOUT_MS,
kq->queue->pipe,