projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/gpu/drm/amd/amdkfd/kfd_device.c
b/drivers/gpu/drm/amd/amdkfd/kfd_device.c
index 9beb6f7bba9d575b906ab57ccec1164b5aa25721..43884ebd4303fedd47b56431737a0f726852c552 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);
}
}