drm/amdkfd: pass queue's mqd when destroying mqd
authorOded Gabbay <oded.gabbay@gmail.com>
Sat, 2 Sep 2017 12:00:25 +0000 (15:00 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Sat, 2 Sep 2017 12:00:25 +0000 (15:00 +0300)
commit1fabbf781167052f4480bdcc627378a27e78a559
tree7434c2da642a44c248e837ef4dd9367f0842234d
parent50dad5fb59d12dc9a5a0e96073ee1e5857ac45a2
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: Oded Gabbay <oded.gabbay@gmail.com>
drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c