aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mn.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2019-03-28 10:16:12 -0500
committerAlex Deucher <alexander.deucher@amd.com>2019-03-28 10:16:12 -0500
commit296bb163e2d549c0fcae307e6aff1e407bb1a998 (patch)
treef3e9104869555a21fbeaa5c426d0b3b61881d5ce /drivers/gpu/drm/amd/amdgpu/amdgpu_mn.h
parentRevert "drm/amdkfd: avoid HMM change cause circular lock" (diff)
downloadlinux-dev-296bb163e2d549c0fcae307e6aff1e407bb1a998.tar.xz
linux-dev-296bb163e2d549c0fcae307e6aff1e407bb1a998.zip
Revert "drm/amdgpu: use HMM callback to replace mmu notifier"
This reverts commit 57731a07795ae80790c6ae7d8e7001cdbd6d14c0. This depends on an HMM fix which is not upstream yet. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to '')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_mn.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mn.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mn.h
index 0a51fd00021c..eb0f432f78fe 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mn.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mn.h
@@ -34,7 +34,7 @@ enum amdgpu_mn_type {
AMDGPU_MN_TYPE_HSA,
};
-#if defined(CONFIG_HMM_MIRROR)
+#if defined(CONFIG_MMU_NOTIFIER)
void amdgpu_mn_lock(struct amdgpu_mn *mn);
void amdgpu_mn_unlock(struct amdgpu_mn *mn);
struct amdgpu_mn *amdgpu_mn_get(struct amdgpu_device *adev,