amdkfd: Clear ctx cb before suspend
Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
This commit is contained in:
parent
52a5fdce13
commit
abc9d3e3b9
@ -267,6 +267,7 @@ void kgd2kfd_suspend(struct kfd_dev *kfd)
|
|||||||
|
|
||||||
if (kfd->init_complete) {
|
if (kfd->init_complete) {
|
||||||
kfd->dqm->stop(kfd->dqm);
|
kfd->dqm->stop(kfd->dqm);
|
||||||
|
amd_iommu_set_invalidate_ctx_cb(kfd->pdev, NULL);
|
||||||
amd_iommu_free_device(kfd->pdev);
|
amd_iommu_free_device(kfd->pdev);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user