diff options
author | Oded Gabbay <oded.gabbay@amd.com> | 2014-11-09 23:36:22 +0300 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@amd.com> | 2014-11-09 23:36:22 +0300 |
commit | abc9d3e3b9dc77d7b887ade9f5845a93ce743fd4 (patch) | |
tree | ffba233052f97790c6ea593534d7075137ced995 /drivers/gpu/drm/amd | |
parent | 52a5fdce136bcaabc719be6e8f141d68426b3c74 (diff) | |
download | linux-abc9d3e3b9dc77d7b887ade9f5845a93ce743fd4.tar.xz |
amdkfd: Clear ctx cb before suspend
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd')
-rw-r--r-- | drivers/gpu/drm/amd/amdkfd/kfd_device.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device.c b/drivers/gpu/drm/amd/amdkfd/kfd_device.c index 9beb6f7bba9d..43884ebd4303 100644 --- 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); } } |