Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit abc9d3e3 authored by Oded Gabbay's avatar Oded Gabbay
Browse files

amdkfd: Clear ctx cb before suspend

parent 52a5fdce
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);
	}
}