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:
42e08c7
)
drm/amdkfd: Initialize sdma vm when creating sdma queue
author
Xihan Zhang
<
[email protected]
>
Tue, 28 Apr 2015 15:48:40 +0000
(23:48 +0800)
committer
Oded Gabbay
<
[email protected]
>
Thu, 7 May 2015 14:38:06 +0000
(17:38 +0300)
This patch fixes a bug where sdma vm wasn't initialized when
an sdma queue was created in HWS mode.
This caused GPUVM faults to appear on dmesg and it is one of the
causes that SDMA queues are not working.
Signed-off-by: Xihan Zhang <
[email protected]
>
Reviewed-by: Ben Goz <
[email protected]
>
Signed-off-by: Oded Gabbay <
[email protected]
>
Cc:
[email protected]
Reviewed-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
index 7b1d5109e9f2311a61a78255ca6a89ebca0a7c1d..596ee5cd3b842df597c57ee890d16a97ec8cc9ae 100644
(file)
--- a/
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
+++ b/
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
@@
-883,6
+883,8
@@
static int create_queue_cpsch(struct device_queue_manager *dqm, struct queue *q,
return -ENOMEM;
}
+ init_sdma_vm(dqm, q, qpd);
+
retval = mqd->init_mqd(mqd, &q->mqd, &q->mqd_mem_obj,
&q->gart_mqd_addr, &q->properties);
if (retval != 0)