Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1fabbf78 authored by Oded Gabbay's avatar Oded Gabbay
Browse files

drm/amdkfd: pass queue's mqd when destroying mqd



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: default avatarOded Gabbay <oded.gabbay@gmail.com>
parent 50dad5fb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,