OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52a5fdc
)
amdkfd: Clear ctx cb before suspend
author
Oded Gabbay
<oded.gabbay@amd.com>
Sun, 9 Nov 2014 20:36:22 +0000
(22:36 +0200)
committer
Oded Gabbay
<oded.gabbay@amd.com>
Sun, 9 Nov 2014 20:36:22 +0000
(22:36 +0200)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdkfd/kfd_device.c
b/drivers/gpu/drm/amd/amdkfd/kfd_device.c
index
9beb6f7
..
43884eb
100644
(file)
--- a/
drivers/gpu/drm/amd/amdkfd/kfd_device.c
+++ b/
drivers/gpu/drm/amd/amdkfd/kfd_device.c
@@
-267,6
+267,7
@@
void kgd2kfd_suspend(struct kfd_dev *kfd)
if (kfd->init_complete) {
kfd->dqm->stop(kfd->dqm);
+ amd_iommu_set_invalidate_ctx_cb(kfd->pdev, NULL);
amd_iommu_free_device(kfd->pdev);
}
}